working on raw data parsing