a few improvements to the CV code