change cout to logutils