changed logging,