Was being stupid. Forgot to include the params in opt()