Added capability to select a date range