operation for search