Some comments were added
Some minor formatting