Added fix of var scope error. Defined methods can't declare global variables from arguments.