changed command_io structure