assignment3 updated