yet another update.
proc write working.