diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -9,7 +9,4 @@
 
 class Solution:
     def distributeCandies(self, candyType: List[int]) -> int:
-        return min(len(candyType) // 2, len(self.uniqueCandyTypes(candyType)))
-
-    def uniqueCandyTypes(self, candyList):
-        self.processCandyList(candyList)
+        return min(len(candyType) // 2, len(set(candyType)))
