Function working

Got report 2 to print.