renaming of candidate variance
removed deprication warnings