Added credit for @oestrich for doing the original example