beautified output formatting, fixed capitilization differences