Defining a class | LearningWay