added activityType variable to activity class