extract vars replaced