add header for types and typedefs