Made some changes and gave some input in the form of comments.