Revision 3 for HW4