finish assignment 6