user logger instand of puts