document != doc