completed ch7e2.html