using bv functions