oops, apply(0 === illegal invocation