Almost solved problem 50