minor change to calculate bonus