could get the index from the GetIndex() in the channel group too, but the extra here is quicker. One minor request: please don't use 'i' as variable name, but use something a little more descriptive than that.

Other than that, +1 to this PR