Printing to console

updated and commented console.log