Improving comments, and a hat tip to where the implementation idea came from.