How did you solve it in the end?