Problem 3 fixed