finished rest of ch 6 and added comments