implemented bonusCalc