working on the report generating function