Adding console.logs