added better formatting to output