class definition, learning Moose