finishing assignment 7