updates to chapter04