finishing chapter on iteration