finish exercises from ch 8