added a few more write-output