finished ch10 problem 10.11