Adds calculations for contributions