finished exercises in ch 5