Added debug code and removed the other new_channel_view