changes in the code to generate the reporst