problem 3 almost solved