Adding and searching for variables is done at the GEN stage.