added activityType to query parameters