put back acf_extract_var, we need it, refactored