Continued with problem 3