newWeights test
remove some comments