scalar cumulativeContErr = 0;