Added log to console.