removed warnings concerning maxIterations parameter