add string_io_routine