updated some things for chpater 4