Don't store data on the function. If you need to access it across functions, either pass it through, or create a global variable.