diff --git a/src/interaction/slaveInteract.js b/src/interaction/slaveInteract.js
index 093c31365a108a29a78cb974793d58493009e902..de04b7fde1e4268c0c5d36f06a511ecff121d9a6 100644
--- a/src/interaction/slaveInteract.js
+++ b/src/interaction/slaveInteract.js
@@ -1,65 +1,64 @@
 /* eslint-disable no-unused-vars */ // TODO: remove after testing
 App.UI.SlaveInteract = {};
 
-App.UI.SlaveInteract.placeInLine = function(slave) {
-	V.slavesInLine = [];
-	let activeSlaveIndex = V.slaveIndices[slave.ID];
+App.UI.SlaveInteract.placeInLine = function(slaveIndex) {
+	let slavesInLine = [];
 	let SL = V.slaves.length;
 
 	if (assignmentVisible(slave)) {
-		for (let pil = activeSlaveIndex - 1; pil !== activeSlaveIndex; pil--) {
+		for (let pil = slaveIndex - 1; pil !== slaveIndex; pil--) {
 			/* loops backwards through the V.slaves array */
 			if (pil < 0) {
 				pil = SL;
 				continue;
 			}
 			if (assignmentVisible(V.slaves[pil])) {
-				V.slavesInLine.push(pil); /* index of the previous slave in line */
+				slavesInLine.push(pil); /* index of the previous slave in line */
 				break;
 			}
 		}
-		for (let pil = activeSlaveIndex + 1; pil !== activeSlaveIndex; pil++) {
+		for (let pil = slaveIndex + 1; pil !== slaveIndex; pil++) {
 			/* this loops forwards through the V.slaves array */
 			if (pil === SL) {
 				pil = -1;
 				continue;
 			}
 			if (assignmentVisible(V.slaves[pil])) {
-				V.slavesInLine.push(pil); /* index of the next slave in line */
+				slavesInLine.push(pil); /* index of the next slave in line */
 				break;
 			}
 		}
 	} else {
-		for (let pil = activeSlaveIndex - 1; pil !== activeSlaveIndex; pil--) {
+		for (let pil = slaveIndex - 1; pil !== slaveIndex; pil--) {
 			/* loops backwards through the V.slaves array */
 			if (pil < 0) {
 				pil = SL;
 				continue;
 			}
 			if (V.slaves[pil].assignment === slave.assignment) {
-				V.slavesInLine.push(pil); /* index of the previous slave in line */
+				slavesInLine.push(pil); /* index of the previous slave in line */
 				break;
 			}
 		}
-		for (let pil = activeSlaveIndex + 1; pil !== activeSlaveIndex; pil++) {
+		for (let pil = slaveIndex + 1; pil !== slaveIndex; pil++) {
 			/* this loops forwards through the V.slaves array */
 			if (pil === SL) {
 				pil = -1;
 				continue;
 			}
 			if (V.slaves[pil].assignment === slave.assignment) {
-				V.slavesInLine.push(pil); /* index of the next slave in line */
+				slavesInLine.push(pil); /* index of the next slave in line */
 				break;
 			}
 		}
 	}
 
-	if (V.slavesInLine.length === 0) {
+	if (slavesInLine.length === 0) {
 		/* if there are no other slaves available, set previous/next slave to self */
-		V.slavesInLine[0] = activeSlaveIndex;
-		V.slavesInLine[1] = activeSlaveIndex;
+		slavesInLine[0] = slaveIndex;
+		slavesInLine[1] = slaveIndex;
 	}
-	return;
+	return slavesInLine;
 };
 
 App.UI.SlaveInteract.fucktoyPref = function(slave) {
diff --git a/src/uncategorized/nextWeek.tw b/src/uncategorized/nextWeek.tw
index f2b9ae2cc784bff7c5d9441bdf0a07650c57265d..385b76fac44777b8d8008b248dc6ed0b5b7b3806 100644
--- a/src/uncategorized/nextWeek.tw
+++ b/src/uncategorized/nextWeek.tw
@@ -351,7 +351,7 @@
 <<set $boobsID = -1, $boobsInterestTargetID = -1, $buttslutID = -1, $buttslutInterestTargetID = -1, $cumslutID = -1, $cumslutInterestTargetID = -1, $humiliationID = -1, $humiliationInterestTargetID = -1, $sadistID = -1, $sadistInterestTargetID = -1, $masochistID = -1, $masochistInterestTargetID = -1, $domID = -1, $dominantInterestTargetID = -1, $subID = -1, $submissiveInterestTargetID = -1>>
 
 /% Other arrays %/
-<<set $events = [], $RESSevent = [], $RESSTRevent = [], $RETSevent = [], $RECIevent = [], $RecETSevent = [], $REFIevent = [], $REFSevent = [], $PESSevent = [], $PETSevent = [], $FSAcquisitionEvents = [], $FSNonconformistEvents = [], $REAnalCowgirlSubIDs = [], $REButtholeCheckinIDs = [], $recruit = [], $RETasteTestSubIDs = [], $devotedSlaves = [], $rebelSlaves = [], $REBoobCollisionSubIDs = [], $REIfYouEnjoyItSubIDs = [], $RESadisticDescriptionSubIDs = [], $REShowerForceSubIDs = [], $RESimpleAssaultIDs = [], $RECockmilkInterceptionIDs = [], $REInterslaveBeggingIDs = [], $bedSlaves = [], $eligibleSlaves = [], $slavesInLine = []>>
+<<set $events = [], $RESSevent = [], $RESSTRevent = [], $RETSevent = [], $RECIevent = [], $RecETSevent = [], $REFIevent = [], $REFSevent = [], $PESSevent = [], $PETSevent = [], $FSAcquisitionEvents = [], $FSNonconformistEvents = [], $REAnalCowgirlSubIDs = [], $REButtholeCheckinIDs = [], $recruit = [], $RETasteTestSubIDs = [], $devotedSlaves = [], $rebelSlaves = [], $REBoobCollisionSubIDs = [], $REIfYouEnjoyItSubIDs = [], $RESadisticDescriptionSubIDs = [], $REShowerForceSubIDs = [], $RESimpleAssaultIDs = [], $RECockmilkInterceptionIDs = [], $REInterslaveBeggingIDs = [], $bedSlaves = [], $eligibleSlaves = []>>
 
 /% Slave Objects using 0 instead of null. Second most memory eaten up. %/
 <<set $activeSlave = 0, $eventSlave = 0, $slaveWithoutBonuses = 0, $subSlave = 0, $milkTap = 0, $relation = 0, $relative = 0, $relative2 = 0>>
diff --git a/src/uncategorized/slaveInteract.tw b/src/uncategorized/slaveInteract.tw
index 7861330479339845aa1f1e036ab9ebbfd42209bb..f76d1b72ce0b39830cb0ff121ca539c421325578 100644
--- a/src/uncategorized/slaveInteract.tw
+++ b/src/uncategorized/slaveInteract.tw
@@ -51,7 +51,7 @@
 	<<set $showEncyclopedia = 1, $encyclopedia = "Gender">>
 <</if>>
 
-<<run App.UI.SlaveInteract.placeInLine($slaves[_i])>>
+<<set _slavesInLine = App.UI.SlaveInteract.placeInLine(_i)>>
 
 <<set _desc = `<<set $activeSlave = $slaves[_i]>><<include "Long Slave Description">>`>>
 
@@ -66,7 +66,7 @@
 		[←,Q]
 	</span>
 	<span id="prevSlave" style="font-weight:bold">
-		<<link "Prev" "Slave Interact">><<set $slaves[_i] = $activeSlave, $activeSlave = $slaves[$slavesInLine[0]]>><</link>>
+		<<link "Prev" "Slave Interact">><<set $slaves[_i] = $activeSlave, $activeSlave = $slaves[_slavesInLine[0]]>><</link>>
 	</span>
 	&nbsp;&nbsp;&nbsp;&nbsp;
 	<span class='slave-name'>
@@ -74,7 +74,7 @@
 	</span>
 	&nbsp;&nbsp;&nbsp;&nbsp;
 	<span id="nextSlave" style="font-weight:bold">
-		<<link "Next" "Slave Interact">><<set $slaves[_i] = $activeSlave, $activeSlave = $slaves[$slavesInLine[1]]>><</link>>
+		<<link "Next" "Slave Interact">><<set $slaves[_i] = $activeSlave, $activeSlave = $slaves[_slavesInLine[1]]>><</link>>
 	</span>
 	<span class="cyan">
 		[E,→]