renamed search method