continued working on data parsing functions