activitypage function