working on chapeter 5