Determining the Purity of X