finish prob3