changed parameters for L_S_B()