use logger not puts