wild idea to make time search button work when clicked