need to implement delegate to pass search results