added functionality to select transactions in a date range