closing problem 2