took me like 6 reads to understand wtf was happening.

/brainoffagain