finish prob 2