add lbs logic