maintaining order of headers