Added input multiplexing