removed console.log(); Replaced by log();