added second to last step to CV derivation