cleaned up header printing