added output connection to all inputs as a flag
merge