controlling the weight