formatting and header reshuffled