changed to use Channel object