move Dimension to headers