compiles header