Added some comments.  Still haven't tested.