search for class working