adding class2 activity