modified controller for reports