get doc to RC
get_vars to RC