for class requirement