it's only when you do multiple writes that we call write(2) more than once