made lagr in inference.r non-verbose