Updated VAR statements and how vars are saved on stack.