Problem 2 defined