Code for a study about BVS