Added console logs