better way to "reverse the header"