more work on the channel counter