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