Problem2 done