make WeightFunction a wrapper
add added label