separated search from team controller