Variable tables changed to save stack elements