To use for class