clean up 5.1
cleaned up 5.2
cleaned up rest of ch.5