uncommented on code for printing reports