chap3 partially finished