modified write and read