use logger instead of console.log
use logger instead of console.log