working on data structure parsing