finishing search by timestamps