Lots of explanatory comments.