Added comments, and formatted them using Markdown