add console logs