Changed io structure