setting up report generator