fixed iteration 3