worked on header parser, some functions appear multiple times