adapting to ioAgent