Collapse variables.
Improve comments.