modify the class attributes