moved header to model