problem 2-4 done