trying to see how many args a wrapped function has
greg added lots of stuff