move headers to constructor