modified the channel switcher to work with the new data format