Finished debugging kcv