prob3 done