Variables now only consist of Strings. This solved scope issue.
addVar function added