added getActivities method to network