Class ValidateCSFunction