adding numchannels