Took a bit to get the code right, but it worked out all right in the end.
This is why you should never dance in the wind.