Added more console logs