work on read/write mi text