Problem 4 revised