CVALEY code