correcting class reference for loyalty