parse all data properly