Mode write and read working