created a search class