Updated comments.  Working prototype.