add code to show subActivities