changed logging style