Adding some console logs