throught problem 3