adding date range search feature