use logger util instead of console.log