updates to sections 8, 9, 10
using github version
changes to sections 3, 8, 9, and 10