diff --git a/src/uncategorized/multiImplant.tw b/src/uncategorized/multiImplant.tw
index 434d0151092dac48c84076c2e25a67b12a274e4e..aa67a2bed4edb1cca7849e3da503fefb9f6f5e03 100644
--- a/src/uncategorized/multiImplant.tw
+++ b/src/uncategorized/multiImplant.tw
@@ -13,6 +13,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
 			<<switch $completedOrgans[_o].type>>
 			<<case "penis">>
 				<<if $activeSlave.dick == 0>>
+					<br>Debug: found penis
 					<<set $cash -= $surgeryCost>>
 					<<if $activeSlave.prostate == 0>>
 						<<set $activeSlave.prostate = 1>>
@@ -24,11 +25,13 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
 					<<set $surgeryType = "addDick">>
 					<br><hr>
 					<<include "Surgery Degradation">>
-					
+					<br>Debug: installed penis
 					<<set $completedOrgans.deleteAt(_o), _o-->>
 				<</if>>
 			<<case "testicles">>
+				<br>Debug: found testicles
 				<<if ($activeSlave.dick >= 1) && ($activeSlave.balls == 0)>>
+					<br>Debug: installing testicles
 					<<set $cash -= $surgeryCost>>
 					<<if $activeSlave.prostate == 0>>
 						<<set $activeSlave.prostate = 1>>
@@ -54,8 +57,10 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
 					<<set $surgeryType = "addBalls">>
 					<br><hr>
 					<<include "Surgery Degradation">>
+					<br>Debug: installed testicles
 					<<set $completedOrgans.deleteAt(_o), _o-->>
 				<<elseif $activeSlave.balls == 0>>
+					<br>Debug: did not find penis on slave, searching for finished penis in completedOrgans 
 					/* if it finds a penis in $completedOrgans install that one first, then proceeds with the testicles */
 					<<for _j = 0; _j < $completedOrgans.length; _j++>>
 						<<if $completedOrgans[_j].ID == $slaves[_j].ID && $completedOrgans[_j].type == "penis" && $activeSlave.dick == 0>>
@@ -71,7 +76,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
 							<<set $surgeryType = "addDick">>
 							<br><hr>
 							<<include "Surgery Degradation">>
-							<<set $completedOrgans.deleteAt(_j), _j-->>
+							<<set $completedOrgans.deleteAt(_j)>>
 							/* testicles */
 							<<set $cash -= $surgeryCost>>
 							<<if $activeSlave.prostate == 0>>
@@ -99,6 +104,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
 							<br><hr>
 							<<include "Surgery Degradation">>
 							<<set $completedOrgans.deleteAt(_o), _o-->>
+							<br>Debug: installed both penis and testicles
 							<<break>>
 						<</if>>
 					<</for>>
@@ -117,7 +123,6 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized
 					<<set $surgeryType = "addScrotum">>
 					<br><hr>
 					<<include "Surgery Degradation">>
-					
 					<<set $completedOrgans.deleteAt(_o), _o-->>
 				<<elseif $activeSlave.scrotum == 0>>
 					/* checks if there is completed testicles in $completedOrgans and proceed to install the, if there is no penis it checks for the presence of that too */