separate headers from body