changes in channel.js