Coz i added an example where there are more than one connectors as input and one connector as output so that i could show the use of setInputs() properly. See the added lines for the same. :)