new logic for vrf