clustering according to service type