fixed syntax for class definition