added search on date