Add weights option