add Channel id function