don't forget to close writer