code simplification (do not repeat the service definition)