put writing in its own proc too