instantiates required variable.