weight.classes accepts thres