Edited PrintHeader function