Adding the tasks of classB