Problem 24 updated