added class for switching between classes to search for