fixed usage line to include optional maxIterations parameter