adding console logs