forgot to set to the input and output attributes.