added language for document type