make testCutv a function