each class has a method now