A much simpler solution.