Made initial changes.

Forgot to add comments on the 1st edit, so I made a new edit and made comments.