updated chap 4, i think