progress on parsing header