search prototype