Hmm, wrong measurement for documentation. It might be obvious for you, but not for every one. num is IMO not obvious at first. It's rather the length of the array, isn't it?