Purity Calculaion Commit