working for class