Homework 5, revision 0