updated code to match books since Im back in OSX
Started ch4, pg 85