further work on data parsing.