A better approach
With thanks to
Paul Jungwirth