halts on undefined variables