working on iomodel