Solved problem 31!