correct number of iterations to 19 from 20