I know you didn't write the above code, but holy crap.