completed computation of Cv