explanatory comments, cleanup