adding time duration search functionality