broke argumentsLength function out of by argsLength for memory