fixed formatting for print statements