added search to include date range