I want to write my own function, and I want to be able to pass down variables that will be modified. Just like in C++. How do I do that. I don't want a bunch of public or global variables either. Is there a way?