required for class