finishing assignment 2