Wow. I bet that required some decent clever thinking that you would have only typically thought about in C or C++.