added number of input channels