add soln exer 3-3