move header to extern file