Almost working iteration!