refinality with logging