Finish assignment1