replace a few methods using puts with logger calls