added writeback capabilities