change class definition