Directly store variable in function and local