extract vars