updates for logging