Improved problem 30