Reading this reminds me of reading hand-written code. Nice work Dan.