homework6 revision 1