diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -15,8 +15,8 @@
         s2 = total
         arr = []
         for i in range(n):
-            arr.append(self.calculateAbsoluteDifference(s1, nums[i], i, s2, n))
+            arr.append(abs(s1 - (nums[i] * i)) + abs((s2 - (nums[i]) * (n - i))))
             s1 = s1 + nums[i]
-            s2 = total - s + 11
+            s2 = total - s1
 
         return arr
