small updates to chap 7