added add_activity and add_activity_type methods