Homework 2, revision 0