changed the number of iterations from 4 to 5