A model of loyalty and service