Homework2, Revision 2