Add various comments to explain loops and such