Added various comments to my existing code