problem2 done