Probably the most obfuscated code I've ever wrote.