problem 4 corrected