Complete homework 2.