Improved example to test local variables
Improved variable loading and storing