Using a class definition