error: undefined variable(s)