As we're replacing `that.channels` here, we should probably update `channels_length` as well since we loop through it on line 72