frist part of solution to CBV migration