Defining classed task 2