(Given thought, I can see what it is doing but it is not obvious.)