Input and output added.