workng on weighted conf