updated the constructor to pass in reports and data