worked on header parsing