extract variable