Working on the write-back code.