Problem 2.7 solved