service defined