Homework 7 tested.