modified GenerateReport.java