comparing different documents under the same model