Note to self: never answer a question on stackoverflow if there is another answer already, not matter how whimsical it is.