invalid variable name total_weight