class work for class