Added search() and searchTime() functions