change attribute names to input and output