chap3 sec2 (finished)