added conditions to cv
unserializes serialized items in cv automatically