added dates and dropdown; refactored report_data