added delay for search