refactoring and csvChecker Repair!!