Add solution to 1.40