I have a function that uses xdata in one of it's helper functions. How do I prevent it from doing so?
well, if you get away from the shitty "model large" your function will not use xdata. You can then, if needed, define some variables used elsewhere xdata