Finished the basic purity system