finish assignment 7