added the option to capitalize headers