finish assignment 1&2