choosing the right document type