finished ch7 checkpoint exercises