almost done with iteration 1