Always place map variables outside function scope.