finished first draft of CV implementation, working on manual tests