XRD application in research