set class version