Smart deMUX