up to iteration 7