chaning some logging