modifying class definition