Adding Input and Output