Should uncomment this and remove the infinite iterations.