idDoc method implemented