add write-mode'