made changes to conform to coding standards of comments