added routs for weighting