Jorge's solution.