correct formatting for printing