add condition for lv