add extra rationale logging for variables