add line weight opt