clean up unused function. adding header mappings.