Added functionality to show data by date range