adding lb code