local can only be used in a function