Added a prototype version of the code, and do solemnly swear to never get so out of date again.