1st attempt a problem 3