Adding comments to describe each portion.