Preparing the report