service inheritance