Now both input and output can connect to each other in either direction
Now both input and output can connect to each other in either direction