pass parameters into yearlyConributionTotal method