refactor and add nextCalculation()