started to implement DocumentModel scan