Added input and output.