Updated compenstation formula.