added some more information to logging