2- ai search class