Added CalculateSum