in class version