Added console.logging