implemented temporal search