Error with undefined Variable

Hi, I am trying to create an auditory digit span test but every time I input any variables the test stops running and tells me one of my variables is undefined. Can someone please help? thank you

Without more info it’s difficult to give any help.
When using variables with the builder you often have to change the type of the variable from being “constant” to something like “set every repeat” or “set every frame”. Otherwise PsychoPy will try to create the component before the experiment starts and as variables from condition files will be instantiated at runtime, python doesn’t know the variable will exist and therefore crash.