writer is done