implemented from search to relationship