Added line for weighting (not implemented)