added support for write-in draft mode