Comments added

Comments to the new code have been added.