Forgot to initialize $code