Working memory based write and read