finish simple writeback thread. begin to debug it.