minor revisions (added comments)