Removed console,log, add comments

Removed console,log, add comments