End of Homework 2