modified in order to filter services for service type