added a way to search for classes