finish assignment 4