finishing up assignment 8