Make search method virtual