header reorganization