final update
search for inputs and outputs