Homework 3, revision 0