add compareString