input and output gates now support many-to-one connections