Dynamically create the channels array