parser for head section