fixing cv assertion
updating code, readme