finishing chap 4 of tut.