adding console logger