perhaps the write should include a newline