Assignment4 part II && III