changes to chpater 3 and 4