Write the correct code not the flipped version in header
Print codes in header in correct order