added the Search friend function