Optimised problem 10