class version