added conversation logging