puts changed to logger
back to puts