finishing assignment 6