use logger not console