finishing up assignment 7