edited main document