new functions for Class