Homework 10 for class