finish readi and write i