under working,  modify parser for header