finish assignment 2