diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt
index 3eb9f4458e453a3418e5702e923f7c0fd2098673..d6f3ec035339e40c3abb33882bb57edf59be3105 100644
--- a/devNotes/twine JS.txt	
+++ b/devNotes/twine JS.txt	
@@ -34650,8 +34650,8 @@ window.Count = function() {
 	if (E > 100) {T.Env = 4;}
 	else if (E > 67) {T.Env = 3;}
 	else {T.Env = 2;}
-	T.ColonelCashBonus = 1000000;
-	T.TroopCashBonus = 100000*S.Troops;
+	T.ColonelCashBonus = 10000; T.inviTroop = 100;
+	T.TroopCashBonus = T.inviTroop*S.Troops;
 	T.SFCashBonus = ((T.ColonelCashBonus+(T.TroopCashBonus))*T.Env);
 };
 
@@ -35025,12 +35025,12 @@ window.progress = function(x,max) {
 
 window.SFInit = function() {
 	const V = State.variables;
-	V.SF = Object.assign({}, V.SF, {Active:1, Bonus:0, Depravity:0, Units:0, MWU:0, U:0, WG:0, SpecOps:0, SpecOpsLock:0, ROE:"hold", Target:"recruit", Regs:"strict", Caps:"The Special Force", Lower:"the special force", Subsidy:1});
-	V.SFUnit = Object.assign({}, V.SFUnit, {Troops:40, Armoury:0, Firebase:0, AV:0, TV:0, Drones:0, Drugs:0, PGT:0, AA:0, TA:0, SpacePlane:0, GunS:0, Satellite:0, GiantRobot:0, MissileSilo:0, AircraftCarrier:0, Sub:0, HAT:0});
-	V.SFColonel = Object.assign({}, V.SFColonel, {Core:"", Talk:0, Fun:0, Status:0});
-	V.SFTradeShow = Object.assign({}, V.SFTradeShow, {History:0, CanAttend:0, Income:0, Revenue:0, Helots:0, TotalHelots:0, Mercs:0, TotalMercs:0});
+	V.SF = {Active:1, Bonus:0, Depravity:0, Units:0, MWU:0, U:0, WG:0, SpecOps:0, SpecOpsLock:0, ROE:"hold", Target:"recruit", Regs:"strict", Caps:"The Special Force", Lower:"the special force", Subsidy:1};
+	V.SFUnit = {Troops:40, Armoury:0, Firebase:0, AV:0, TV:0, Drones:0, Drugs:0, PGT:0, AA:0, TA:0, SpacePlane:0, GunS:0, Satellite:0, GiantRobot:0, MissileSilo:0, AircraftCarrier:0, Sub:0, HAT:0};
+	V.SFColonel = {Core:"", Talk:0, Fun:0, Status:0};
+	V.SFTradeShow = {History:0, CanAttend:0, Income:0, Revenue:0, Helots:0, TotalHelots:0, Mercs:0, TotalMercs:0};
 	V.SatLaunched = 0, V.arcologies[0].SFRaid = 1,V.arcologies[0].SFRaidTarget = -1;
-	V.SF.Facility = Object.assign({}, V.SF.Facility, {Toggle:0, Active:0, LC:0, Workers:0, Max:5, Caps:"Special force support facility", Lower:"special force support facility", Decoration:"standard", Speed:0, Upgrade:0, IDs:[]});
+	V.SF.Facility = {Toggle:0, Active:0, LC:0, Workers:0, Max:5, Caps:"Special force support facility", Lower:"special force support facility", Decoration:"standard", Speed:0, Upgrade:0, IDs:[]};
 };
 
 /*:: DebugJS [script]*/
diff --git a/src/SecExp/securityReport.tw b/src/SecExp/securityReport.tw
index fde67a7c45b63c9fcac5cb571fc098633b96e3f3..05d3353a575d901caa2186db88908c2a9a82ed93 100644
--- a/src/SecExp/securityReport.tw
+++ b/src/SecExp/securityReport.tw
@@ -410,6 +410,10 @@
 			Having a powerful special force attracts a lot of mercenaries, hopeful that they may be able to fight along side it.
 			<<set _newMercs += random(0,Math.round($SF.Units/10))>>
 		<</if>>
+		<<if $discountMercenaries > 0>>
+			More mercenaries are attracted to your archology as a result of the reduced rent.
+			<<set _newMercs += random(2,4)>>
+		<</if>>
 		<<set _newMercs = Math.trunc(_newMercs / 2)>>
 		<<if _newMercs > 0>>
 			<<set $mercTotalManpower += _newMercs>>
diff --git a/src/SpecialForce/JS.js b/src/SpecialForce/JS.js
index 0e6e4288acf04ec7f77cd1b6ceac0fb71d90cfce..ac4ddf2c6ec7ef3cdd63468e3633937966e18a64 100644
--- a/src/SpecialForce/JS.js
+++ b/src/SpecialForce/JS.js
@@ -76,8 +76,8 @@ window.Count = function() {
 	if (E > 100) {T.Env = 4;}
 	else if (E > 67) {T.Env = 3;}
 	else {T.Env = 2;}
-	T.ColonelCashBonus = 1000000;
-	T.TroopCashBonus = 100000*S.Troops;
+	T.ColonelCashBonus = 10000; T.inviTroop = 100;
+	T.TroopCashBonus = T.inviTroop*S.Troops;
 	T.SFCashBonus = ((T.ColonelCashBonus+(T.TroopCashBonus))*T.Env);
 };
 
@@ -451,10 +451,10 @@ window.progress = function(x,max) {
 
 window.SFInit = function() {
 	const V = State.variables;
-	V.SF = Object.assign({}, V.SF, {Active:1, Bonus:0, Depravity:0, Units:0, MWU:0, U:0, WG:0, SpecOps:0, SpecOpsLock:0, ROE:"hold", Target:"recruit", Regs:"strict", Caps:"The Special Force", Lower:"the special force", Subsidy:1});
-	V.SFUnit = Object.assign({}, V.SFUnit, {Troops:40, Armoury:0, Firebase:0, AV:0, TV:0, Drones:0, Drugs:0, PGT:0, AA:0, TA:0, SpacePlane:0, GunS:0, Satellite:0, GiantRobot:0, MissileSilo:0, AircraftCarrier:0, Sub:0, HAT:0});
-	V.SFColonel = Object.assign({}, V.SFColonel, {Core:"", Talk:0, Fun:0, Status:0});
-	V.SFTradeShow = Object.assign({}, V.SFTradeShow, {History:0, CanAttend:0, Income:0, Revenue:0, Helots:0, TotalHelots:0, Mercs:0, TotalMercs:0});
+	V.SF = {Active:1, Bonus:0, Depravity:0, Units:0, MWU:0, U:0, WG:0, SpecOps:0, SpecOpsLock:0, ROE:"hold", Target:"recruit", Regs:"strict", Caps:"The Special Force", Lower:"the special force", Subsidy:1};
+	V.SFUnit = {Troops:40, Armoury:0, Firebase:0, AV:0, TV:0, Drones:0, Drugs:0, PGT:0, AA:0, TA:0, SpacePlane:0, GunS:0, Satellite:0, GiantRobot:0, MissileSilo:0, AircraftCarrier:0, Sub:0, HAT:0};
+	V.SFColonel = {Core:"", Talk:0, Fun:0, Status:0};
+	V.SFTradeShow = {History:0, CanAttend:0, Income:0, Revenue:0, Helots:0, TotalHelots:0, Mercs:0, TotalMercs:0};
 	V.SatLaunched = 0, V.arcologies[0].SFRaid = 1,V.arcologies[0].SFRaidTarget = -1;
-	V.SF.Facility = Object.assign({}, V.SF.Facility, {Toggle:0, Active:0, LC:0, Workers:0, Max:5, Caps:"Special force support facility", Lower:"special force support facility", Decoration:"standard", Speed:0, Upgrade:0, IDs:[]});
+	V.SF.Facility = {Toggle:0, Active:0, LC:0, Workers:0, Max:5, Caps:"Special force support facility", Lower:"special force support facility", Decoration:"standard", Speed:0, Upgrade:0, IDs:[]};
 };
\ No newline at end of file
diff --git a/src/SpecialForce/Report.tw b/src/SpecialForce/Report.tw
index 234126ee92bc7e904bad148fb3d132f5ed4063a4..893d80ee84dac0bd097e449103ae6dedc8eac689 100644
--- a/src/SpecialForce/Report.tw
+++ b/src/SpecialForce/Report.tw
@@ -114,9 +114,9 @@
 	<</if>>
 	<<if $secExp > 0>> <<set $authority += $SF.Units*10,$authority = Math.clamp($authority, 0, 20000)>> <</if>>
 
-	<<set _SFIncome = Math.ceil(_SFIncome*_troopMultiplier*_unitMultiplier*_actionMultiplier*_depravityMultiplier-_SFupkeep),$SFUnit.Troops += Math.round(_FNGs/2)>>
+	<<set _SFIncome = Math.ceil((_SFIncome*_troopMultiplier/10*_unitMultiplier/10*_actionMultiplier/10*_depravityMultiplier)-_SFupkeep),$SFUnit.Troops += Math.round(_FNGs/2)>>
 	/*Remove below line if hard mode ever gets fixed*/
-	<<if $economy < 100>> <<set _SFIncome = Math.ceil(_SFIncome*(1+($week/10)))>> <</if>>
+	<<if $economy < 100>> <<set _SFIncome = Math.ceil(_SFIncome*(1+($week/100)))>> <</if>>
 	<<if $SFUnit.Troops > 2000>> <<set $SFUnit.Troops = random(1955,1999)>> <</if>>
 	<<if $rep > 20000>> <<set $rep = 20000>> <</if>>
 	<<if $arcologies[0].prosperity > $AProsperityCap>>
@@ -190,9 +190,9 @@ $SF.Caps managed to recruit <<print Math.round(_FNGs/2)>> new soldiers this week
 	<<set _MenialSlaves = Math.ceil(random(1,((_TradeShowAttendes*_MenialSlavesPerAttendee)/10)))>>
 	<<set _TSProfit = Math.ceil(500000*(1+($SF.Units/1000))*(1+($arcologies[0].prosperity/1000))*_Env)>>
 	During a break, The Colonel managed to sell some generic schematics to the _TradeShowAttendes attendes, some decided to also give her some menial slaves as a bonus.<br>
-	<<set $helots = $helots+_MenialSlaves>>
+	<<set $helots += _MenialSlaves>>
 	<<set $SFTradeShow.Helots += _MenialSlaves,$SFTradeShow.TotalHelots += _MenialSlaves>>
-	<<set $cash = $cash+_TSProfit,$SFTradeShow.Income += _TSProfit>>
+	<<set $cash += _TSProfit,$SFTradeShow.Income += _TSProfit>>
 	<<set $SFTradeShow.Revenue += _TSProfit>>
 	<<if $secExp > 0 && $mercenaries > 0>> <<set $SFTradeShow.Mercs = 0>>
 		<<set _NewMercs = random(1,(_TradeShowAttendes/10))>>
diff --git a/src/pregmod/forceFeeding.tw b/src/pregmod/forceFeeding.tw
index f35489e2e48ada342f632853e1e7998970d45e4e..163080eb1ba1dc1613f93a5ccecd060f4174a1c4 100644
--- a/src/pregmod/forceFeeding.tw
+++ b/src/pregmod/forceFeeding.tw
@@ -405,7 +405,7 @@ and a little jiggle from $his gut.
 		After a few minutes of rest,
 	<<elseif $activeSlave.devotion <= 50>>
 		$He sighs contently, hoping you'll give $him more attention.
-		$His meal attempts to come back up on $him several times, but $he holds $he dutifully holds it down.
+		$His meal attempts to come back up on $him several times, but $he dutifully holds it down.
 		After a few minutes of rest,
 	<<else>>
 		$He sighs contently, hoping you'll give $him more attention.
diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw
index 334a54bdcaedc16caf903e30a4e8bc71eed1e817..3c70f1940e2a8199f1e409820f53d982b93d6fa1 100644
--- a/src/uncategorized/BackwardsCompatibility.tw
+++ b/src/uncategorized/BackwardsCompatibility.tw
@@ -3670,3 +3670,7 @@ Done!
 <<if ndef $postSexCleanUp>>
 	<<set $postSexCleanUp = 1>>
 <</if>>
+
+<<if def $individualCosts>>
+	<<unset $individualCosts>>
+<</if>>
diff --git a/src/uncategorized/PESS.tw b/src/uncategorized/PESS.tw
index 673780749af1ec53d3163cf5eed1148ea611020e..bbf99abbe3b4c1e662831704a29145eb7cbf53bc 100644
--- a/src/uncategorized/PESS.tw
+++ b/src/uncategorized/PESS.tw
@@ -160,7 +160,7 @@ $He sees you examining at $him, and looks back at you submissively, too tired to
 	<<EventNameDelink $activeSlave>>
 	<<replace "#result">>
 	$activeSlave.slaveName stomps over to the drunken delinquent, who finds himself sobering up with each step the muscular woman makes in his direction. Soon he finds himself <<if ($activeSlave.height > 170)>>staring up at her $activeSlave.faceShape face<<elseif ($activeSlave.height > 150)>>eye to eye with her $activeSlave.faceShape face<<else>>looking down at her $activeSlave.faceShape face<</if>> as $he grips him by the shoulders and lifts him bodily off of the ground. The man squeals with terror as he begs forgiveness for his affront to you, but $activeSlave.slaveName simply tosses him away from your presence as if discharging him from a bar. Word of your herculean protector is soon @@.green;the talk of $arcologies[0].name and beyond@@, with many in the Old World mistakenly believing you are guarded by a warrior so strong $he can throw any man the breadth of a room in a single heave.
-	<<set $rep += 500>>
+	<<set $rep += 500>> <<if $activeSlave.prestige < 1>> <<set $activeSlave.prestige = 1,$activeSlave.prestigeDesc = "Word in the arcology is $he can throw a man the breadth of a room in a single heave.">> <</if>>
 	<</replace>>
 <</link>>
 <</if>> 
@@ -171,7 +171,7 @@ $He sees you examining at $him, and looks back at you submissively, too tired to
 	<<EventNameDelink $activeSlave>>
 	<<replace "#result">>
 	$activeSlave.slaveName calmly strides over to the drunken delinquent and simply towers over him with a glower on her $activeSlave.faceShape face. The man quickly finds himself sobering up and moves to run from the scene with all the drunken haste he can muster. Unfortunately for him, $activeSlave.slaveName matches his pace with a brisk power-walk, and the citizen soon finds himself face down on the pavement after a swift strike to the back of the head. Word of your giant protector is soon @@.green;the talk of $arcologies[0].name and beyond@@, with many in the Old World mistakenly believing you are guarded by a warrior twice the height of any man.
-	<<set $rep += 500>>
+	<<set $rep += 500>> <<if $activeSlave.prestige < 1>> <<set $activeSlave.prestige = 1,$activeSlave.prestigeDesc = "Word in the arcology is $he is twice the height of any man.">> <</if>>
 	<</replace>>
 <</link>>
 <</if>> 
@@ -182,7 +182,7 @@ $He sees you examining at $him, and looks back at you submissively, too tired to
 	<<EventNameDelink $activeSlave>>
 	<<replace "#result">>
 	$activeSlave.slaveName seductively saunters over to the drunken delinquent and poses alluringly nearby. The man can't help but become entranced by her gorgeous $activeSlave.faceShape face, and follows her like a lost puppy as $he beckons with one outstretched finger. $activeSlave.slaveName lures her prey into a nearby alley before slamming her fist into the unsuspecting drunkard's face, leaving him knocked out cold on the floor before returning to guard you. Word of your beautiful protector is soon @@.green;the talk of $arcologies[0].name and beyond@@, with many in the Old World mistakenly believing you are guarded by a warrior unmatched by any woman in the world in her good looks.
-	<<set $rep += 500>>
+	<<set $rep += 500>> <<if $activeSlave.prestige < 1>> <<set $activeSlave.prestige = 1,$activeSlave.prestigeDesc = "Word in the arcology is $his beauty is unmatched by any woman in the world.">> <</if>>
 	<</replace>>
 <</link>>
 <</if>> 
@@ -193,7 +193,7 @@ $He sees you examining at $him, and looks back at you submissively, too tired to
 	<<EventNameDelink $activeSlave>>
 	<<replace "#result">>
 	$activeSlave.slaveName walks over to the man, puts an arm about his shoulders and explains to him <<if canTalk($activeSlave)>>in hushed whispers<<else>>with rapid sign language<</if>> the severity of the situation. The man sobers up quickly as the reality of his actions set in and he soon beats a hasty exit from the scene as $activeSlave.slaveName returns to guard your body. Word of your tactful protector is soon @@.green;the talk of $arcologies[0].name and beyond@@, with many in the Old World mistakenly believing you are guarded by a warrior whose silver tongue is the envy of many politicians.
-	<<set $rep += 500>>
+	<<set $rep += 500>> <<if $activeSlave.prestige < 1>> <<set $activeSlave.prestige = 1,$activeSlave.prestigeDesc = "$His silver tongue is the envy of many in the arcology.">> <</if>>
 	<</replace>>
 <</link>>
 <</if>> 
@@ -204,7 +204,7 @@ $He sees you examining at $him, and looks back at you submissively, too tired to
 	<<EventNameDelink $activeSlave>>
 	<<replace "#result">>
 	$activeSlave.slaveName quickly maneuvers over to the man and strikes him low in the stomach, robbing him of breath in a single strike. The man sobers up somewhat and raises his arms to defend himself, but finds himself outmatched by $activeSlave.slaveName's skillful attacks. It doesn't take long for $activeSlave.slaveName to reduce the man to a battered heap on the ground with her hands alone, after which $he soon returns to you to guard your body. Word of your martial protector is soon @@.green;the talk of $arcologies[0].name and beyond@@, with many in the Old World mistakenly believing you are guarded by a warrior whose hands are deadlier than many weapons.
-	<<set $rep += 500>>
+	<<set $rep += 500>> <<if $activeSlave.prestige < 1>> <<set $activeSlave.prestige = 1,$activeSlave.prestigeDesc = "Word in the arcology is $his hands are deadlier than many weapons.">> <</if>>
 	<</replace>>
 <</link>>
 <</if>> 
diff --git a/src/uncategorized/arcmgmt.tw b/src/uncategorized/arcmgmt.tw
index 8ac9985a6f9d1654a277ac20463a8ad989422a3e..ab2983e786b526d4f2da5b611445b6080ee47b31 100644
--- a/src/uncategorized/arcmgmt.tw
+++ b/src/uncategorized/arcmgmt.tw
@@ -899,7 +899,7 @@ _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>>
 <<if $alternativeRents == 1>> /*A silly policy*/
 	Your citizens are allowed to pay their rents in slaves rather than cash and a few financially challenged individuals make use of this.
 	<<set _rentMultiplier *= 0.95>>
-	<<set $helots += random(0,3)>>
+	<<set _movement = random(0,3), $helots += _movement, $ASlaves -= _movement>>
 <</if>>
 <<if $discountMercenaries == 1>>
 	Mercenaries willing to come to your arcology are given a discount on rent.
diff --git a/src/uncategorized/costsReport.tw b/src/uncategorized/costsReport.tw
index 110d803ea6362ac519cb11b1755d5915447ce6b6..82d1ee5bab8b8cabf59b64bdaf999925b3a9e69f 100644
--- a/src/uncategorized/costsReport.tw
+++ b/src/uncategorized/costsReport.tw
@@ -1,6 +1,6 @@
 :: Costs Report [nobr]
 
-<<set $nextButton = "Back to Main", $nextLink = "Main">>
+<<set $nextButton = "Back to Main", $nextLink = "Main",_archologyCosts = 0>>
 <<if $PCSlutContacts == 0>><<set $PCSlutContacts = 1>><</if>>
 
 //Your weekly costs are as follows.//
@@ -14,25 +14,54 @@ Since you are
 	used to a fairly normal life,
 <</if>>
 your __personal living expenses__ are <<print cashFormat(Math.trunc($girls*(250+(50000/$localEcon))))>>.
+<<set _archologyCosts += Math.trunc($girls*(250+(50000/$localEcon)))>>
 
 <<if $arcologies[0].FSRepopulationFocusLaw == 1 && $PC.pregKnown == 1>>
 	<br>Rent promotion for being a pregnant citizen under ''Universal Pregnancy Subsidy:'' <<print cashFormat(500)>>
+	<<set _archologyCosts += 500>>
 <</if>>
 
 <<if $PC.preg == -1>>
 	<br>Your Contraceptives expenses: <<print cashFormat(25)>>
+	<<set _archologyCosts += 25>>
 <<elseif $PC.fertDrugs == 1>>
 	<br>Your fertility regimen: <<print cashFormat(50)>>
+	<<set _archologyCosts += 50>>
 <<elseif $PC.preg >= 16>>
 	<br>Increased living expenses due to being pregnant: <<print cashFormat(100)>>
+	<<set _archologyCosts += 100>>
 <</if>>
 <<if $PC.staminaPills == 1>>
 	<br>Your stamina pills: <<print cashFormat(50)>>
+	<<set _archologyCosts += 50>>
+<</if>>
+
+<<if $PC.actualAge >= $IsInPrimePC && $PC.actualAge < $IsPastPrimePC>>
+	<<if ($personalAttention == "trading") || ($personalAttention == "warfare") || ($personalAttention == "slaving") || ($personalAttention == "engineering") || ($personalAttention == "medicine") || ($personalAttention == "hacking")>>
+		<br><br>
+		<<set _cost = 10000*$AgeEffectOnTrainerPricingPC,_archologyCosts += _cost>>
+		<<switch $personalAttention>>
+			<<case trading>>
+				__Trading__
+			<<case warfare>>
+				__Warfare__
+			<<case slaving>>
+				__Slaving__
+			<<case engineering>>
+				__Engineering__
+			<<case medicine>>
+				__Medicine__
+			<<case hacking>>
+				__Hacking__
+		<</switch>>
+		trainer fees: <<print cashFormat(_cost)>>
+	<</if>>
 <</if>>
 
 <<if $breederOrphanageTotal > 0>><<set _breederTuition = 50>><<else>><<set _breederTuition = 0>><</if>>
 <<if $citizenOrphanageTotal+$privateOrphanageTotal+$breederOrphanageTotal > 0>>
 	<br> __Orphanage__ fee: @@.yellowgreen;<<print cashFormat($citizenOrphanageTotal*100+$privateOrphanageTotal*500+_breederTuition)>>@@
+	<<set _archologyCosts += $citizenOrphanageTotal*100+$privateOrphanageTotal*500+_breederTuition>>
 	<<if $citizenOrphanageTotal > 0>>
 		<br>&nbsp;Citizen: @@.yellowgreen;<<print cashFormat(100)>>@@ per child. Currently <<print commaNum($citizenOrphanageTotal)>> are being taught, bringing the total to @@.yellowgreen;<<print cashFormat($citizenOrphanageTotal*100)>>@@.
 	<</if>>
@@ -46,17 +75,20 @@ your __personal living expenses__ are <<print cashFormat(Math.trunc($girls*(250+
 
 <<if $peacekeepers != 0 && $peacekeepers.undermining != 0>>
 	<br> <<print cashFormat($peacekeepers.undermining)>> to undermine political support for the nearby old world peacekeeping mission.
+	<<set _archologyCosts += $peacekeepers.undermining>>
 <</if>>
 
 <<if $SF.Toggle && $SF.Active >= 1>>
 	<<if $SF.Subsidy>>
 		<br>__Finacinally supporting $SF.Lower unitll self sufficiency:__ <<print cashFormat(Math.ceil( (10000*($SFUnit.Troops/10))+(1+($arcologies[0].prosperity/100))+(1+($SF.Units/100)) ))>>
+		<<set _archologyCosts += Math.ceil( (10000*($SFUnit.Troops/10))+(1+($arcologies[0].prosperity/100))+(1+($SF.Units/100)) )>>
 	<</if>>
 	<<if $SF.Bonus>>
 		<<= Count()>>
 		<br>__Bonuses for basic FS acceptance amoungst $SF.Lower:__ <<print cashFormat(Math.ceil(_SFCashBonus))>>
 		<br>&nbsp;Colonel <<print cashFormat(_ColonelCashBonus*_Env)>>.
-		<br>&nbsp;<<print cashFormat(_TroopCashBonus)>> per solider, totalling <<print cashFormat(Math.ceil(_TroopCashBonus*_Env))>>.
+		&nbsp;Troop size: <<print commaNum($SFUnit.Troops)>> and each solider recives <<print cashFormat(_inviTroop*_Env)>>, totalling <<print cashFormat(Math.ceil(_TroopCashBonus*_Env))>>.
+		<<set _archologyCosts += _SFCashBonus>>
 	<</if>>
 <</if>>
 <<if $mercenaries > 0>>
@@ -66,76 +98,103 @@ your __personal living expenses__ are <<print cashFormat(Math.trunc($girls*(250+
 	<br>__Mercenary__ expenses: <<print cashFormat(_mercCosts)>>
 	<<if $barracks>><<else>>//@@.red;Increased by the lack of a barracks.@@//<</if>>
 	<<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//Reduced by your @@.springgreen;mercenary contacts.@@//<</if>>
+	<<set _archologyCosts += _mercCosts>>
 <</if>>
 
-<<if $brothel > 0>>
+<<if $brothel > 0 || $club > 0 || $arcade > 0 || $dairy > 0 || $farmyard > 0>>
+	<br>__Archology building maintenance__:
+	<<if $brothel > 0>>
 	<<set _advertising = 0>>
 	<<if $brothel > 0>>
 		<<set _advertising = $brothelAdsSpending>>
 	<</if>>
-	<br>__Brothel__ maintenance: <<print cashFormat(($brothel*$facilityCost)+(0.1*$brothelUpgradeDrugs*$brothel*$facilityCost)+_advertising)>>
+	Brothel: <<print cashFormat(($brothel*$facilityCost)+(0.1*$brothelUpgradeDrugs*$brothel*$facilityCost)+_advertising)>>
+	<<set _archologyCosts += ($brothel*$facilityCost)+(0.1*$brothelUpgradeDrugs*$brothel*$facilityCost)+_advertising>>
 <</if>>
-
-<<if $club > 0>>
-	<<set _advertising= 0>>
 	<<if $club > 0>>
-		<<set _advertising = $clubAdsSpending>>
+		<<set _advertising= 0>>
+		<<if $club > 0>>
+			<<set _advertising = $clubAdsSpending>>
+			<<set _archologyCosts += $clubAdsSpending>>
+		<</if>>
+		Club: <<print cashFormat(($club*$facilityCost)+(0.2*$clubUpgradePDAs*$club*$facilityCost)+_advertising)>>
+		<<set _archologyCosts += ($club*$facilityCost)+(0.2*$clubUpgradePDAs*$club*$facilityCost)+_advertising>>
+	<</if>>
+	<<if $arcade > 0>>
+		Arcade: <<print cashFormat((0.5*$arcade*$facilityCost)+(0.2*$arcadeUpgradeInjectors*$arcade*$facilityCost)+(0.2*$arcadeUpgradeCollectors*$arcade*$facilityCost))>>
+		<<set _archologyCosts += (0.5*$arcade*$facilityCost)+(0.2*$arcadeUpgradeInjectors*$arcade*$facilityCost)+(0.2*$arcadeUpgradeCollectors*$arcade*$facilityCost)>>
+	<</if>>
+	<<if $dairy > 0>>
+		<br>__Dairy__: <<print cashFormat(($dairy*$facilityCost)+(0.2*$dairyFeedersUpgrade*$dairy*$facilityCost)+(0.1*$dairyPregUpgrade*$dairy*$facilityCost))>>
+		<<set _archologyCosts += ($dairy*$facilityCost)+(0.2*$dairyFeedersUpgrade*$dairy*$facilityCost)+(0.1*$dairyPregUpgrade*$dairy*$facilityCost)>>
+		<<if $bioreactorsXY+$bioreactorsXX+$bioreactorsHerm+$bioreactorsBarren > 0>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;Additional maintenance for milking machines upgraded with biological components: <<print cashFormat(($bioreactorsXY+$bioreactorsXX+$bioreactorsHerm+$bioreactorsBarren)*100)>>
+			<<set _archologyCosts += ($bioreactorsXY+$bioreactorsXX+$bioreactorsHerm+$bioreactorsBarren)*100>>
+		<</if>>
 	<</if>>
-	<br>__Club__ maintenance: <<print cashFormat(($club*$facilityCost)+(0.2*$clubUpgradePDAs*$club*$facilityCost)+_advertising)>>
-<</if>>
-<<if $arcade > 0>>
-	<br>__Arcade__ maintenance: <<print cashFormat((0.5*$arcade*$facilityCost)+(0.2*$arcadeUpgradeInjectors*$arcade*$facilityCost)+(0.2*$arcadeUpgradeCollectors*$arcade*$facilityCost))>>
-<</if>>
-<<if $dairy > 0>>
-	<br>__Dairy__ maintenance: <<print cashFormat(($dairy*$facilityCost)+(0.2*$dairyFeedersUpgrade*$dairy*$facilityCost)+(0.1*$dairyPregUpgrade*$dairy*$facilityCost))>>
-	<<if $bioreactorsXY+$bioreactorsXX+$bioreactorsHerm+$bioreactorsBarren > 0>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Additional maintenance for milking machines upgraded with biological components: <<print cashFormat(($bioreactorsXY+$bioreactorsXX+$bioreactorsHerm+$bioreactorsBarren)*100)>>
+	<<if $farmyard > 0>> /*TODO: this will also need to be expanded*/
+		__Farmyard__: <<print cashFormat($farmyard*$facilityCost)>>
+		<<set _archologyCosts += $farmyard*$facilityCost>>
 	<</if>>
 <</if>>
-<<if ($servantsQuarters > 0) && ($servantsQuartersUpgradeMonitoring > 0)>>
-	<br>__Servants' Quarters__ maintenance: <<print cashFormat((0.2*$servantsQuartersUpgradeMonitoring*$servantsQuarters*$facilityCost))>>
-<</if>>
-<<if $nursery > 0>>		/*TODO: this will definitely need to be expanded to take into account the number of children and other factors*/
-	<br>__Nursery maintenance: <<print cashFormat($nurseryNannies*$facilityCost)>>
-<</if>>
-<<if $farmyard > 0>>	/*TODO: this will also need to be expanded*/
-	<br>__Farmyard__ maintenance: <<print cashFormat($farmyard*$facilityCost)>>
-<</if>>
 
-<<if $incubator > 0>>
-	<br>__Incubation Facility__ maintenance and resource drain: <<print cashFormat((10*$incubator*$facilityCost)+(0.2*$incubatorUpgradeWeight*$incubator*$facilityCost)+(0.2*$incubatorUpgradeMuscles*$incubator*$facilityCost)+(0.2*$incubatorUpgradeReproduction*$incubator*$facilityCost)+(0.2*$incubatorUpgradeGrowthStims*$incubator*$facilityCost)+(0.5*$incubatorUpgradeSpeed*$incubator*$facilityCost))>>
-	<<if $incubatorWeightSetting+$incubatorMusclesSetting+$incubatorReproductionSetting > 0>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Additional monitoring and maintenance costs for growing children: <<print cashFormat((($incubatorWeightSetting+$incubatorMusclesSetting+$incubatorReproductionSetting+$incubatorGrowthStimsSetting)*500))>>
+<<if ($servantsQuarters > 0 && $servantsQuartersUpgradeMonitoring > 0) ||
+$nursery > 0 || $masterSuiteUpgradePregnancy > 0 || $incubator > 0 ||
+($cyberMod != 0 && $researchLab.built == "true")>>
+<br>__Penthouse facility maintenance__: 
+	<<if ($servantsQuarters > 0) && ($servantsQuartersUpgradeMonitoring > 0)>>
+		Servants' Quarters: <<print cashFormat((0.2*$servantsQuartersUpgradeMonitoring*$servantsQuarters*$facilityCost))>> 
+		<<set _archologyCosts += 0.2*$servantsQuartersUpgradeMonitoring*$servantsQuarters*$facilityCost>>
+	<</if>>
+	<<if $nursery > 0>> /*TODO: this will definitely need to be expanded to take into account the number of children and other factors*/
+		Nursery: <<print cashFormat($nursery*$facilityCost)>> 
+		<<set _archologyCosts += $nursery*$facilityCost>>
+	<</if>>
+	<<if ($masterSuiteUpgradePregnancy > 0)>>
+		Master Suite: <<print cashFormat(((500*$masterSuiteUpgradePregnancy) + (1000*$masterSuitePregnancyFertilitySupplements)))>>
+		<<set _archologyCosts += ((500*$masterSuiteUpgradePregnancy) + (1000*$masterSuitePregnancyFertilitySupplements))>>
+	<</if>>
+	<<if $incubator > 0>>
+		<br>__Incubation Facility__: <<print cashFormat((10*$incubator*$facilityCost)+(0.2*$incubatorUpgradeWeight*$incubator*$facilityCost)+(0.2*$incubatorUpgradeMuscles*$incubator*$facilityCost)+(0.2*$incubatorUpgradeReproduction*$incubator*$facilityCost)+(0.2*$incubatorUpgradeGrowthStims*$incubator*$facilityCost)+(0.5*$incubatorUpgradeSpeed*$incubator*$facilityCost))>>
+		<<set _archologyCosts += (10*$incubator*$facilityCost)+(0.2*$incubatorUpgradeWeight*$incubator*$facilityCost)+(0.2*$incubatorUpgradeMuscles*$incubator*$facilityCost)+(0.2*$incubatorUpgradeReproduction*$incubator*$facilityCost)+(0.2*$incubatorUpgradeGrowthStims*$incubator*$facilityCost)+(0.5*$incubatorUpgradeSpeed*$incubator*$facilityCost)>>
+		<<if $incubatorWeightSetting+$incubatorMusclesSetting+$incubatorReproductionSetting > 0>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;Additional monitoring and maintenance costs for growing children: <<print cashFormat((($incubatorWeightSetting+$incubatorMusclesSetting+$incubatorReproductionSetting+$incubatorGrowthStimsSetting)*500))>>
+			<<set _archologyCosts += (($incubatorWeightSetting+$incubatorMusclesSetting+$incubatorReproductionSetting+$incubatorGrowthStimsSetting)*500)>>
+		<</if>>
 	<</if>>
-<</if>>
-<<if ($masterSuiteUpgradePregnancy == 1)>>
-	<br>__Master Suite__ maintenance: <<print cashFormat(((500*$masterSuiteUpgradePregnancy) + (1000*$masterSuitePregnancyFertilitySupplements)))>>
-<</if>>
-<<if $cyberMod != 0>>
-	<<if ($researchLab.built == "true")>>
-		<br>__Research Lab__ maintenance: <<print cashFormat((100*$researchLab.maxSpace))>>
-		<<if $researchLab.hired != 0>>&nbsp;__Scientists__: <<print cashFormat((300*$researchLab.hired))>><</if>>
-		<<if $researchLab.menials != 0>>&nbsp;__Menial slaves__: <<print cashFormat((100*$researchLab.menials))>><</if>>
+	<<if $cyberMod != 0 && $researchLab.built == "true">>
+		<br>__Research Lab__: <<print cashFormat((100*$researchLab.maxSpace))>>
+		<<set _archologyCosts += 100*$researchLab.maxSpace>>
+		<<if $researchLab.hired != 0>>&nbsp;__Scientists__: <<print cashFormat((300*$researchLab.hired))>> <<set _archologyCosts += 300*$researchLab.hired>> <</if>>
+		<<if $researchLab.menials != 0>>&nbsp;__Menial slaves__: <<print cashFormat((100*$researchLab.menials))>> <<set _archologyCosts += 100*$researchLab.menials>> <</if>>
 	<</if>>
-<</if>>
+<</if>>	
 
 /* security expansion */
-<<if $secExp == 1>>
+<<if $secExp > 0>>
 	<br>
 	<<if $edictsUpkeep + $SFSupportUpkeep > 0>>
 		__Edicts Upkeep__: <<print cashFormat($edictsUpkeep + $SFSupportUpkeep)>>
+		<<set _archologyCosts += ($edictsUpkeep + $SFSupportUpkeep)>>
 	<</if>>
-	<<if $propHub != 0>>
-		<br>__Propaganda Hub__ maintenance: <<print cashFormat($propHubUpkeep)>>
-	<</if>>
-	<<if $secHQ != 0>>
-		<br>__Security Headquarters__ maintenance: <<print cashFormat(($secHQUpkeep)+(20*$secHelots))>>
-	<</if>>
-	<<if $secBarracks != 0>>
-		<br>__Barracks__ maintenance: <<print cashFormat($secBarracksUpkeep)>>
-	<</if>>
-	<<if $riotCenter != 0>>
-		<br>__Riot Control Center__ maintenance: <<print cashFormat($riotUpkeep)>>
+	<<if $propHub != 0 || $secHQ != 0 || $secBarracks != 0 || $riotCenter != 0>>
+		<br>__Security apartus maintenance costs__: 
+		<<if $propHub != 0>>
+			Propaganda Hub: @@.yellowgreen;<<print cashFormat($propHubUpkeep)>>@@ 
+			<<set _archologyCosts += $propHubUpkeep>>
+		<</if>>
+		<<if $secHQ != 0>>
+			Security Headquarters: @@.yellowgreen;<<print cashFormat(($secHQUpkeep)+(20*$secHelots))>>@@ 
+			<<set _archologyCosts += ($secHQUpkeep)+(20*$secHelots)>>
+		<</if>>
+		<<if $secBarracks != 0>>
+			Barracks: @@.yellowgreen;<<print cashFormat($secBarracksUpkeep)>>@@ 
+			<<set _archologyCosts += $secBarracksUpkeep>>
+		<</if>>
+		<<if $riotCenter != 0>>
+			Riot Control Center: @@.yellowgreen;<<print cashFormat($riotUpkeep)>>@@
+			<<set _archologyCosts += $riotUpkeep>>
+		<</if>>
 	<</if>>
 	
 	<<if $soldierWages == 0>>
@@ -145,466 +204,502 @@ your __personal living expenses__ are <<print cashFormat(Math.trunc($girls*(250+
 	<<else>>
 		<<set _soldierMod = 2>>
 	<</if>>
-	<<for _i = 0; _i < $militiaUnits.length; _i++>>
-		<br>__<<print $militiaUnits[_i].platoonName>>__ upkeep: <<print cashFormat($militiaUnits[_i].troops*$soldierUpkeep * _soldierMod)>>
-	<</for>>
-	<<for _i = 0; _i < $slaveUnits.length; _i++>>
-		<br>__<<print $slaveUnits[_i].platoonName>>__ upkeep: <<print cashFormat($slaveUnits[_i].troops*$soldierUpkeep * 0.5 * _soldierMod)>>
-	<</for>>	
-	<<for _i = 0; _i < $mercUnits.length; _i++>>
-		<br>__<<print $mercUnits[_i].platoonName>>__ upkeep: <<print cashFormat($mercUnits[_i].troops*$soldierUpkeep * 1.5 * _soldierMod)>>
-	<</for>>
+	<<if $militiaUnits.length > 0>>
+		<br>__Militia platoon(s) upkeep__: 
+		<<set _milTotal = 0>>
+		<<for _i = 0; _i < $militiaUnits.length; _i++>>
+			 <i> <<print ordinalSuffix($militiaUnits.length-[_i])>>:</i> <<print cashFormat($militiaUnits[_i].troops*$soldierUpkeep * _soldierMod)>>
+			<<set _milTotal += $militiaUnits[_i].troops*$soldierUpkeep * _soldierMod>>
+		<</for>>
+		<br>&nbsp;__Total__: @@.yellowgreen;<<print cashFormat(_milTotal)>>@@
+	<</if>>
+	<<if $slaveUnits.length > 0>>
+		<br>__Slave platoon(s) upkeep__: 
+		<<set _slaveTotal = 0>>
+		<<for _i = 0; _i < $slaveUnits.length; _i++>>
+			 <i> <<print ordinalSuffix($slaveUnits.length-[_i])>>:</i> <<print cashFormat($slaveUnits[_i].troops*$soldierUpkeep * 0.5 * _soldierMod)>>
+			<<set _slaveTotal += $slaveUnits[_i].troops*$soldierUpkeep * 0.5 * _soldierMod>>
+		<</for>>
+		<br>&nbsp;__Total__: @@.yellowgreen;<<print cashFormat(_slaveTotal)>>@@
+	<</if>>
+	<<if $mercUnits.length > 0>>
+		<br>__Merc platoon(s) upkeep__: 
+		<<set _mercTotal = 0>>
+		<<for _i = 0; _i < $mercUnits.length; _i++>>
+			 <i> <<print ordinalSuffix($mercUnits.length-[_i])>>:</i> <<print cashFormat($mercUnits[_i].troops*$soldierUpkeep * 1.5 * _soldierMod)>>
+			<<set _mercTotal += $mercUnits[_i].troops*$soldierUpkeep * 1.5 * _soldierMod>>
+		<</for>>
+		<br>&nbsp;__Total__: @@.yellowgreen;<<print cashFormat(_mercTotal)>>@@
+		<br>__Total defense force__ upkeep: @@.yellowgreen;<<print cashFormat(_milTotal+_slaveTotal+_mercTotal)>>@@
+		<<set _archologyCosts += (_milTotal+_slaveTotal+_mercTotal)>>
+	<</if>>
 <</if>>
 
 <<if $econWeatherDamage && $disasterResponse > 0>>
 	<<set _DRUUpkeep = Math.trunc($disasterResponse * 200000 / $localEcon)>>
 	<br>__Disaster Response Unit__ expenses: <<print cashFormat(_DRUUpkeep)>>
+	<<set _archologyCosts += _DRUUpkeep>>
 <</if>>
 <<if $antiWeatherFreeze > 0>>
 	<<set _AWFUpkeep = Math.trunc($antiWeatherFreeze * 200000 / $localEcon)>>
 	<br>__Passenger Upgrades__ expenses: <<print cashFormat(_AWFUpkeep)>>
+	<<set _archologyCosts += _AWFUpkeep>>
 <</if>>
 <<if $FSSpending != 0>>
 	<br>__Society Shaping__ expenses: <<print cashFormat($FSSpending)>>
+	<<set _archologyCosts += $FSSpending>>
 <</if>>
 <<if $Recruiter != 0>>
 	<br>__Recruiting__ expenses: <<print cashFormat(250)>>
+	<<set _archologyCosts += 250>>
 <</if>>
-<<if $TSS.schoolPresent == 1>>
+<<if $TSS.schoolPresent > 0>>
 	<br>__The Slavegirl School__ branch campus upkeep: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
-<<if $GRI.schoolPresent == 1>>
+<<if $GRI.schoolPresent > 0>>
 	<br>__Growth Research Institute__ subsidiary lab upkeep: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
-<<if $SCP.schoolPresent == 1>>
+<<if $SCP.schoolPresent > 0>>
 	<br>__St. Claver Preparatory__ branch campus upkeep: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
-<<if $LDE.schoolPresent == 1>>
+<<if $LDE.schoolPresent > 0>>
 	<br>__L'École des Enculées__ branch campus upkeep: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
-<<if $TGA.schoolPresent == 1>>
+<<if $TGA.schoolPresent > 0>>
 	<br>__The Gymnasium-Academy__ branch campus upkeep: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
-<<if $HA.schoolPresent == 1>>
+<<if $HA.schoolPresent > 0>>
 	<br>__The Hippolyta Academy__ branch campus upkeep: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
-<<if $TCR.schoolPresent == 1>>
+<<if $TCR.schoolPresent > 0>>
 	<br>__The Cattle Ranch__ local pasture upkeep: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
-<<if ($TFS.schoolPresent == 1) && (($PC.dick == 0) || ($PC.vagina == 0) || ($PC.boobs == 0))>>
+<<if ($TFS.schoolPresent > 0) && (($PC.dick < 1) || ($PC.vagina < 1) || ($PC.boobs < 1))>>
 	<br>__The Futanari Sisters__ community upkeep: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
 <<if $TSS.subsidize != 0>>
 	<br>__The Slavegirl School__ branch campus influence: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
 <<if $GRI.subsidize != 0>>
 	<br>__Growth Research Institute__ subsidiary lab influence: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
 <<if $SCP.subsidize != 0>>
 	<br>__St. Claver Preparatory__ branch campus influence: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
 <<if $LDE.subsidize != 0>>
 	<br>__L'École des Enculées__ branch campus influence: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
 <<if $TGA.subsidize != 0>>
 	<br>__The Gymnasium-Academy__ branch campus influence: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
 <<if $HA.subsidize != 0>>
 	<br>__The Hippolyta Academy__ branch campus influence: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
 <<if $TCR.subsidize != 0>>
 	<br>__The Cattle Ranch__  local pasture influence: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
 <<if $TFS.subsidize != 0>>
 	<br>__The Futanari Sisters__ community influence: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
 
-<<if $alwaysSubsidizeGrowth == 1>>
-	<br>Weekly arcology growth subsidy: <<print cashFormat($policyCost)>>
-<</if>>
-<<if $alwaysSubsidizeRep == 1>>
-	<br>Weekly self-promotion budget: <<print cashFormat($policyCost)>>
-<</if>>
-<<if $RegularParties == 1>>
-	<br>Weekly social gatherings: <<print cashFormat($policyCost)>>
+<<if $alwaysSubsidizeGrowth > 0 || $alwaysSubsidizeRep > 0 || $RegularParties > 0>>
+	<br>__Weekly costs__:
+	<<if $alwaysSubsidizeGrowth > 0>>
+		&nbsp;arcology growth subsidy: @@.yellowgreen;<<print cashFormat($policyCost)>>@@ 
+		<<set _archologyCosts += $policyCost>>
+	<</if>>
+	<<if $alwaysSubsidizeRep > 0>>
+		self-promotion budget: @@.yellowgreen;<<print cashFormat($policyCost)>>@@ 
+		<<set _archologyCosts += $policyCost>>
+	<</if>>
+	<<if $RegularParties > 0>>
+		social gatherings: @@.yellowgreen;<<print cashFormat($policyCost)>>@@ 
+		<<set _archologyCosts += $policyCost>>
+	<</if>>
 <</if>>
 
 <<if $ProImmigrationCash == 1>>
 	<br>Pro-immigration promotion budget: <<print cashFormat($policyCost)>>
+	<<set _archologyCosts += $policyCost>>
 <</if>>
 <<if $AntiEnslavementCash == 1>>
 	<br>Anti-enslavement charity budget: <<print cashFormat($policyCost)>>
+	<<set _archologyCosts += $policyCost>>
 <</if>>
 
 <<if $CoursingAssociation == 1>>
 	<br>Coursing Association membership: <<print cashFormat(1000)>>
+	<<set _archologyCosts += 1000>>
 <</if>>
 
-<<if $PC.actualAge >= $IsInPrimePC && $PC.actualAge < $IsPastPrimePC>>
-<br><br>
-	<<if ($personalAttention == "trading") || ($personalAttention == "warfare") || ($personalAttention == "slaving") || ($personalAttention == "engineering") || ($personalAttention == "medicine") || ($personalAttention == "hacking")>>
-		<<set _cost = 10000*$AgeEffectOnTrainerPricingPC>>
-		<<switch $personalAttention>>
-		<<case trading>>
-			__Trading__
-		<<case warfare>>
-			__Warfare__
-		<<case slaving>>
-			__Slaving__
-		<<case engineering>>
-			__Engineering__
-		<<case medicine>>
-			__Medicine__
-		<<case hacking>>
-			__Hacking__
-		<</switch>>
-		trainer fees: <<print cashFormat(_cost)>>
-	<</if>>
-<</if>>
+<br>Overall archology costs: @@.yellowgreen;<<print cashFormat(_archologyCosts)>>@@
 
 <br><br>
 
-<<for $i = 0; $i < $slaves.length; $i++>>
-	<<set $individualCosts = 0>>
+<<set _total = 0>> <<set _SL = $slaves.length>>
+<<for $i = 0; $i < _SL; $i++>>
+<<set _individualCosts = 0>>
 	''$slaves[$i].slaveName'':
 	<<switch $slaves[$i].assignment>>
-	<<case "be confined in the arcade">>
-		<<set _livingExpense = ($rulesCost*.75)>>
-	<<case "work in the dairy">>
-		<<if $dairyRestraintsSetting >= 2>>
+		<<case "be confined in the arcade">>
 			<<set _livingExpense = ($rulesCost*.75)>>
-		<<elseif $slaves[$i].livingRules == "normal">>
-			<<set _livingExpense = ($rulesCost*1.5)>>
-		<<elseif $dairyDecoration == "Degradationist">>
-			<<set _livingExpense = ($rulesCost*.9)>>
-		<<else>>
-			<<set _livingExpense = $rulesCost>>
-		<</if>>
-	<<case "work as a farmhand">>		/* TODO: this may need tweaking */
-		<<if $slaves[$i].livingRules == "normal">>
-			<<set _livingExpense = ($rulesCost*1.5)>>
-		<<else>>
-			<<set _livingExpense = $rulesCost>>
-		<</if>>
-	<<case "work in the brothel">>
-		<<if $slaves[$i].livingRules == "normal">>
-			<<set _livingExpense = ($rulesCost*1.5)>>
-		<<else>>
-			<<set _livingExpense = $rulesCost>>
-		<</if>>
-	<<case "serve in the club" "learn in the schoolroom">>
-		<<set _livingExpense = ($rulesCost*1.5)>>
-	<<case "get treatment in the clinic">>
-		<<if $slaves[$i].livingRules == "luxurious">>
-			<<set _livingExpense = ($rulesCost*2)>>
-		<<elseif $slaves[$i].livingRules == "normal">>
-			<<set _livingExpense = ($rulesCost*1.5)>>
-		<<else>>
-			<<set _livingExpense = $rulesCost>>
-		<</if>>
-	<<case "rest in the spa" "work as a nanny">>
-		<<if $slaves[$i].livingRules == "luxurious">>
-			<<set _livingExpense = ($rulesCost*1.75)>>
-		<<elseif $slaves[$i].livingRules == "normal">>
-			<<set _livingExpense = ($rulesCost*1.5)>>
-		<<else>>
-			<<set _livingExpense = $rulesCost>>
-		<</if>>
-	<<case "be a servant">>
-		<<if $slaves[$i].livingRules == "normal">>
-			<<set _livingExpense = ($rulesCost*1.5)>>
-		<<else>>
-			<<if $servantsQuartersDecoration == "Degradationist">>
+		<<case "work in the dairy">>
+			<<if $dairyRestraintsSetting >= 2>>
+				<<set _livingExpense = ($rulesCost*.75)>>
+			<<elseif $slaves[$i].livingRules == "normal">>
+				<<set _livingExpense = ($rulesCost*1.5)>>
+			<<elseif $dairyDecoration == "Degradationist">>
 				<<set _livingExpense = ($rulesCost*.9)>>
 			<<else>>
 				<<set _livingExpense = $rulesCost>>
 			<</if>>
-		<</if>>
-	<<case "be confined in the cellblock">>
-		<<if $slaves[$i].livingRules == "normal">>
-			<<set _livingExpense = ($rulesCost*1.25)>>
-		<<else>>
-			<<set _livingExpense = ($rulesCost*.9)>>
-		<</if>>
-	<<case "be the Madam" "be the DJ" "be the Nurse" "be the Wardeness" "be the Attendant" "be the Matron" "be the Schoolteacher" "be the Stewardess" "be the Milkmaid" "be the Farmer">>
-		<<set _livingExpense = ($rulesCost*2)>>
-	<<default>>
-		<<if $slaves[$i].livingRules == "luxurious">>
-			<<if $slaves[$i].relationship >= 4>>
-				<<set _livingExpense = ($rulesCost*3)>>
+		<<case "work as a farmhand">>		/* TODO: this may need tweaking */
+			<<if $slaves[$i].livingRules == "normal">>
+				<<set _livingExpense = ($rulesCost*1.5)>>
+			<<else>>
+				<<set _livingExpense = $rulesCost>>
+			<</if>>
+		<<case "work in the brothel">>
+			<<if $slaves[$i].livingRules == "normal">>
+				<<set _livingExpense = ($rulesCost*1.5)>>
+			<<else>>
+				<<set _livingExpense = $rulesCost>>
+			<</if>>
+		<<case "serve in the club" "learn in the schoolroom">>
+			<<set _livingExpense = ($rulesCost*1.5)>>
+		<<case "get treatment in the clinic">>
+			<<if $slaves[$i].livingRules == "luxurious">>
+				<<set _livingExpense = ($rulesCost*2)>>
+			<<elseif $slaves[$i].livingRules == "normal">>
+				<<set _livingExpense = ($rulesCost*1.5)>>
+			<<else>>
+				<<set _livingExpense = $rulesCost>>
+			<</if>>
+		<<case "rest in the spa" "work as a nanny">>
+			<<if $slaves[$i].livingRules == "luxurious">>
+				<<set _livingExpense = ($rulesCost*1.75)>>
+			<<elseif $slaves[$i].livingRules == "normal">>
+				<<set _livingExpense = ($rulesCost*1.5)>>
+			<<else>>
+				<<set _livingExpense = $rulesCost>>
+			<</if>>
+		<<case "be a servant">>
+			<<if $slaves[$i].livingRules == "normal">>
+				<<set _livingExpense = ($rulesCost*1.5)>>
 			<<else>>
-				<<set _livingExpense = ($rulesCost*4)>>
+				<<if $servantsQuartersDecoration == "Degradationist">>
+					<<set _livingExpense = ($rulesCost*.9)>>
+				<<else>>
+					<<set _livingExpense = $rulesCost>>
+				<</if>>
 			<</if>>
-		<<elseif $slaves[$i].livingRules == "normal">>
+		<<case "be confined in the cellblock">>
+			<<if $slaves[$i].livingRules == "normal">>
+				<<set _livingExpense = ($rulesCost*1.25)>>
+			<<else>>
+				<<set _livingExpense = ($rulesCost*.9)>>
+			<</if>>
+		<<case "be the Madam" "be the DJ" "be the Nurse" "be the Wardeness" "be the Attendant" "be the Matron" "be the Schoolteacher" "be the Stewardess" "be the Milkmaid" "be the Farmer">>
 			<<set _livingExpense = ($rulesCost*2)>>
-		<<else>>
-			<<set _livingExpense = $rulesCost>>
-		<</if>>
+		<<default>>
+			<<if $slaves[$i].livingRules == "luxurious">>
+				<<if $slaves[$i].relationship >= 4>>
+					<<set _livingExpense = ($rulesCost*3)>>
+				<<else>>
+					<<set _livingExpense = ($rulesCost*4)>>
+				<</if>>
+			<<elseif $slaves[$i].livingRules == "normal">>
+				<<set _livingExpense = ($rulesCost*2)>>
+			<<else>>
+				<<set _livingExpense = $rulesCost>>
+			<</if>>
 	<</switch>>
-	<br>&nbsp;&nbsp;&nbsp;&nbsp;Living expenses: <<print cashFormat(_livingExpense)>>
-	<<set $individualCosts += _livingExpense>>
+	<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Living expenses:</i> <<print cashFormat(_livingExpense)>>
+	<<set _individualCosts += _livingExpense>>
 	
-	<br>&nbsp;&nbsp;&nbsp;&nbsp;Basic slave food cost: <<print cashFormat($foodCost*4)>>
-	<<set $individualCosts += $foodCost*4>>
+	<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Basic slave food cost:</i> <<print cashFormat($foodCost*4)>>
+	<<set _individualCosts += $foodCost*4>>
 	<<switch $slaves[$i].diet>>
-	<<case "fattening" "muscle building">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Heavy diet: <<print cashFormat($foodCost)>>
-		<<set $individualCosts += $foodCost>>
-	<<case "restricted" "slimming">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Light diet: //reduced by// <<print cashFormat($foodCost)>>
-		<<set $individualCosts -= $foodCost>>
+		<<case "fattening" "muscle building">>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Heavy diet:</i> <<print cashFormat($foodCost)>>
+			<<set _individualCosts += $foodCost>>
+		<<case "restricted" "slimming">>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Light diet: //reduced by//</i> <<print cashFormat($foodCost)>>
+			<<set _individualCosts -= $foodCost>>
 	<</switch>>
-	<<if $slaves[$i].weight > 130>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Caloric adjustment for heavy weight: <<print cashFormat($foodCost*2)>>
-		<<set $individualCosts += $foodCost*2>>
-	<<elseif $slaves[$i].weight > 50>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Caloric adjustment for high weight: <<print cashFormat($foodCost)>>
-		<<set $individualCosts += $foodCost>>
-	<<elseif $slaves[$i].weight < -50>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Caloric adjustment for light weight: //reduced by// <<print cashFormat($foodCost)>>
-		<<set $individualCosts -= $foodCost>>
+	<<if $slaves[$i].weight > 130 || $slaves[$i].weight > 50 || $slaves[$i].weight < -50>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Caloric adjustment for
+		<<if $slaves[$i].weight > 130>>
+			heavy weight:</i> <<print cashFormat($foodCost*2)>>
+			<<set _individualCosts += $foodCost*2>>
+		<<elseif $slaves[$i].weight > 50>>
+			high weight: <<print cashFormat($foodCost)>>
+			<<set _individualCosts += $foodCost>>
+		<<elseif $slaves[$i].weight < -50>>
+			light weight: //reduced by// <<print cashFormat($foodCost)>>
+			<<set _individualCosts -= $foodCost>>
+		<</if>>
 	<</if>>
 	<<if $slaves[$i].drugs == "appetite suppressors">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Food saved via suppressed appetite: //reduced by// <<print cashFormat($foodCost)>>
-		<<set $individualCosts -= $foodCost>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Food saved via suppressed appetite:</i> //reduced by// <<print cashFormat($foodCost)>>
+		<<set _individualCosts -= $foodCost>>
 	<</if>>
 	<<if $slaves[$i].lactation > 0>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Food to support
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Food to support
 		<<if $slaves[$i].lactation > 1>>heavy<<else>>natural<</if>> lactation from
-		<<if Math.trunc($slaves[$i].boobs/10000) > 2>>absurd udders<<elseif Math.trunc($slaves[$i].boobs/10000) > 1>>enormous boobs<<else>>reasonable breasts<</if>>:
+		<<if Math.trunc($slaves[$i].boobs/10000) > 2>>absurd udders<<elseif Math.trunc($slaves[$i].boobs/10000) > 1>>enormous boobs<<else>>reasonable breasts<</if>>:</i>
 		<<print cashFormat($foodCost*$slaves[$i].lactation*(1+Math.trunc($slaves[$i].boobs/10000)))>>
-		<<set $individualCosts += $foodCost*$slaves[$i].lactation*(1+Math.trunc($slaves[$i].boobs/10000))>>
+		<<set _individualCosts += $foodCost*$slaves[$i].lactation*(1+Math.trunc($slaves[$i].boobs/10000))>>
 	<</if>>
 	<<if $slaves[$i].preg > 5>>
 		<<if $slaves[$i].assignment == "work in the dairy" && $dairyFeedersSetting > 0>>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Extra feeding costs to support pregnancy are covered by dairy feeders.
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Extra feeding costs to support pregnancy are covered by dairy feeders.</i>
 		<<elseif ($slaves[$i].assignment == "serve in the master suite" || $slaves[$i].assignment == "be your concubine") && $masterSuiteUpgradePregnancy == 1>>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Extra feeding costs to support pregnancy are covered by $masterSuiteName luxuries.
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Extra feeding costs to support pregnancy are covered by $masterSuiteName luxuries.</i>
 		<<else>>
 			<<set _pAccMult = 1>>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Extra feeding to support <<if $slaves[$i].pregControl == "speed up">>accelerated <<set _pAccMult = 3>><</if>>pregnancy: <<print cashFormat($foodCost*$slaves[$i].pregType*_pAccMult)>>
-			<<set $individualCosts += $foodCost*$slaves[$i].pregType*_pAccMult>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Extra feeding to support <<if $slaves[$i].pregControl == "speed up">>accelerated <<set _pAccMult = 3>><</if>>pregnancy:</i> <<print cashFormat($foodCost*$slaves[$i].pregType*_pAccMult)>>
+			<<set _individualCosts += $foodCost*$slaves[$i].pregType*_pAccMult>>
 			<<if $slaves[$i].pregType >= 10>>
-				<br>&nbsp;&nbsp;&nbsp;&nbsp;Specialized food blend to support multiples: <<print cashFormat($foodCost*$slaves[$i].pregType*2*_pAccMult)>>
-				<<set $individualCosts += $foodCost*$slaves[$i].pregType*_pAccMult>>
+				<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Specialized food blend to support multiples:</i> <<print cashFormat($foodCost*$slaves[$i].pregType*2*_pAccMult)>>
+				<<set _individualCosts += $foodCost*$slaves[$i].pregType*_pAccMult>>
 			<<elseif $slaves[$i].pregType >= 30>>
-				<br>&nbsp;&nbsp;&nbsp;&nbsp;Concentrated, quick to digest food blend to support extreme multiples: <<print cashFormat($foodCost*$slaves[$i].pregType*_pAccMult)>>
-				<<set $individualCosts += $foodCost*2*$slaves[$i].pregType*_pAccMult>>
+				<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Concentrated, quick to digest food blend to support extreme multiples:</i> <<print cashFormat($foodCost*$slaves[$i].pregType*_pAccMult)>>
+				<<set _individualCosts += $foodCost*2*$slaves[$i].pregType*_pAccMult>>
 			<<elseif $slaves[$i].pregType >= 50>>
-				<br>&nbsp;&nbsp;&nbsp;&nbsp;Specialized dietary adjustments and concentrated, quick to digest food required to support absurd multiples: <<print cashFormat($foodCost*$slaves[$i].pregType*3*_pAccMult)>>
-				<<set $individualCosts += $foodCost*$slaves[$i].pregType*3*_pAccMult>>
+				<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Specialized dietary adjustments and concentrated, quick to digest food required to support absurd multiples:</i> <<print cashFormat($foodCost*$slaves[$i].pregType*3*_pAccMult)>>
+				<<set _individualCosts += $foodCost*$slaves[$i].pregType*3*_pAccMult>>
 			<<elseif $slaves[$i].pregType >= 100>>
-				<br>&nbsp;&nbsp;&nbsp;&nbsp;Specialized dietary requirements and feeding methods to support absurd multiples: <<print cashFormat($foodCost*$slaves[$i].pregType*5*_pAccMult)>>
-				<<set $individualCosts += $foodCost*$slaves[$i].pregType*5*_pAccMult>>
+				<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Specialized dietary requirements and feeding methods to support absurd multiples:</i> <<print cashFormat($foodCost*$slaves[$i].pregType*5*_pAccMult)>>
+				<<set _individualCosts += $foodCost*$slaves[$i].pregType*5*_pAccMult>>
 			<</if>>
 		<</if>>
 	<</if>>
 	<<switch $slaves[$i].diet>>
-	<<case "XX" "XY">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Hormone enriched diet: <<print cashFormat(25)>>
-		<<set $individualCosts += 25>>
-	<<case "XXY">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Specialized hermaphrodite diet: <<print cashFormat(75)>>
-		<<set $individualCosts += 75>>
-	<<case "cleansing">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Chemical cleansing diet: <<print cashFormat(50)>>
-		<<set $individualCosts += 50>>
-	<<case "fertility">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Specialized fertility diet: <<print cashFormat(25)>>
-		<<set $individualCosts += 50>>
+		<<case "XX" "XY">>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Hormone enriched diet:</i> <<print cashFormat(25)>>
+			<<set _individualCosts += 25>>
+		<<case "XXY">>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Specialized hermaphrodite diet:</i> <<print cashFormat(75)>>
+			<<set _individualCosts += 75>>
+		<<case "cleansing">>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Chemical cleansing diet:</i> <<print cashFormat(50)>>
+			<<set _individualCosts += 50>>
+		<<case "fertility">>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Specialized fertility diet:</i> <<print cashFormat(25)>>
+			<<set _individualCosts += 50>>
 	<</switch>>
 	<<if $boobAccessibility != 1>>
 		<<if ($slaves[$i].boobs > 20000)>>
 			<<if ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
-				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to inconveniently huge boobs: <<print cashFormat(50)>>
-				<<set $individualCosts += 50>>
+				<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to inconveniently huge boobs:</i> <<print cashFormat(50)>>
+				<<set _individualCosts += 50>>
 			<</if>>
 		<</if>>
 	<</if>>
 	<<if $pregAccessibility != 1>>
 		<<if ($slaves[$i].belly >= 60000)>>
 			<<if ($slaves[$i].assignment != "labor in the production line") && ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
-				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to an inconveniently huge belly: <<print cashFormat(100)>>
-				<<set $individualCosts += 100>>
+				<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to an inconveniently huge belly:</i> <<print cashFormat(100)>>
+				<<set _individualCosts += 100>>
 			<</if>>
 		<</if>>
 	<</if>>
 	<<if $dickAccessibility != 1>>
 		<<if ($slaves[$i].dick > 45)>>
 			<<if ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
-				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to an inconveniently huge penis: <<print cashFormat(50)>>
-				<<set $individualCosts += 50>>
+				<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to an inconveniently huge penis:</i> <<print cashFormat(50)>>
+				<<set _individualCosts += 50>>
 			<</if>>
 		<</if>>
 	<</if>>
 	<<if $ballsAccessibility != 1>>
 		<<if ($slaves[$i].balls > 90)>>
 			<<if ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
-				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to inconveniently huge balls: <<print cashFormat(50)>>
-				<<set $individualCosts += 50>>
+				<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to inconveniently huge balls:</i> <<print cashFormat(50)>>
+				<<set _individualCosts += 50>>
 			<</if>>
 		<</if>>
 	<</if>>
 	<<if $buttAccessibility != 1>>
 		<<if ($slaves[$i].butt > 15)>>
 			<<if ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
-				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to an inconveniently huge butt: <<print cashFormat(50)>>
-				<<set $individualCosts += 50>>
+				<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to an inconveniently huge butt:</i> <<print cashFormat(50)>>
+				<<set _individualCosts += 50>>
 			<</if>>
 		<</if>>
 	<</if>>
 	<<if !canSee($slaves[$i]) && ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to lack of sight: <<print cashFormat(50)>>
-		<<set $individualCosts += 50>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to lack of sight:</i> <<print cashFormat(50)>>
+		<<set _individualCosts += 50>>
 	<<elseif $slaves[$i].eyes <= -1 && $slaves[$i].eyewear != "corrective glasses" && $slaves[$i].eyewear != "corrective contacts">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to poor vision: <<print cashFormat(25)>>
-		<<set $individualCosts += 25>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to poor vision:</i> <<print cashFormat(25)>>
+		<<set _individualCosts += 25>>
 	<<elseif ($slaves[$i].eyewear == "blurring glasses") || ($slaves[$i].eyewear == "blurring contacts")>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to blurred vision: <<print cashFormat(25)>>
-		<<set $individualCosts += 25>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to blurred vision:</i> <<print cashFormat(25)>>
+		<<set _individualCosts += 25>>
 	<</if>>
 	<<if !canHear($slaves[$i]) && ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to lack of hearing: <<print cashFormat(20)>>
-		<<set $individualCosts += 20>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to lack of hearing:</i> <<print cashFormat(20)>>
+		<<set _individualCosts += 20>>
 	<<elseif $slaves[$i].hears <= -1 && $slaves[$i].earwear != "hearing aids">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to poor hearing: <<print cashFormat(5)>>
-		<<set $individualCosts += 5>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to poor hearing:</i> <<print cashFormat(5)>>
+		<<set _individualCosts += 5>>
 	<<elseif ($slaves[$i].earwear == "muffling ear plugs")>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to muffled hearing: <<print cashFormat(5)>>
-		<<set $individualCosts += 5>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to muffled hearing:</i> <<print cashFormat(5)>>
+		<<set _individualCosts += 5>>
 	<</if>>
 	<<if ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
 		<<if ($slaves[$i].amp != 0)>>
 			<<if ($slaves[$i].amp == 1)>>
-				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to limblessness: <<print cashFormat($rulesCost)>>
-				<<set $individualCosts += $rulesCost>>
+				<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to limblessness:</i> <<print cashFormat($rulesCost)>>
+				<<set _individualCosts += $rulesCost>>
 			<<else>>
-				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to prosthetics: <<print cashFormat($rulesCost/2)>>
-				<<set $individualCosts += $rulesCost/2>>
+				<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to prosthetics:</i> <<print cashFormat($rulesCost/2)>>
+				<<set _individualCosts += $rulesCost/2>>
 			<</if>>
 		<<elseif !canWalk($slaves[$i])>>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to immobility: <<print cashFormat($rulesCost)>>
-			<<set $individualCosts += $rulesCost>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Increased living expenses due to immobility:</i> <<print cashFormat($rulesCost)>>
+			<<set _individualCosts += $rulesCost>>
 		<</if>>
 	<</if>>
 	<<if $slaves[$i].boobs > 10000>>
 		<<if $slaves[$i].boobsImplantType == 1>>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Maintenance cost for oversized string implants: <<print cashFormat(50)>>
-			<<set $individualCosts += 50>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Maintenance cost for oversized string implants:</i> <<print cashFormat(50)>>
+			<<set _individualCosts += 50>>
 		<</if>>
 	<</if>>
 	<<if $slaves[$i].butt > 10>>
 		<<if $slaves[$i].buttImplantType == 1>>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Maintenance cost for oversized string implants: <<print cashFormat(50)>>
-			<<set $individualCosts += 50>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Maintenance cost for oversized string implants:</i> <<print cashFormat(50)>>
+			<<set _individualCosts += 50>>
 		<</if>>
 	<</if>>
 	<<if $slaves[$i].preg > 35>>
 		<<if $universalRulesBirthing == 1>>
 			<<if ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2)>>
-				<br>&nbsp;&nbsp;&nbsp;&nbsp;Coverage cost for daily pregnancy scanning: <<print cashFormat(50)>>
-				<<set $individualCosts += 50>>
+				<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Coverage cost for daily pregnancy scanning:</i> <<print cashFormat(50)>>
+				<<set _individualCosts += 50>>
 			<</if>>
 		<</if>>
 	<</if>>
 	<<if $CitizenRetirement == 1>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Retirement account payments: <<print cashFormat(250)>>
-		<<set $individualCosts += 250>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Retirement account payments:</i> <<print cashFormat(250)>>
+		<<set _individualCosts += 250>>
 	<</if>>
 	<<if ($slaves[$i].inflation == 3)>>
 		<<switch $slaves[$i].inflationType>>
 		<<case "water">>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of specially formulated water for enemas; 2 gallons: <<print cashFormat(100)>>
-			<<set $individualCosts += 100>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Costs of specially formulated water for enemas; 2 gallons:</i> <<print cashFormat(100)>>
+			<<set _individualCosts += 100>>
 		<<case "food">>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of filler food for slave stuffing; 2 gallons: <<print cashFormat(($foodCost*4))>>
-			<<set $individualCosts += ($foodCost*4)>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Costs of filler food for slave stuffing; 2 gallons:</i> <<print cashFormat(($foodCost*4))>>
+			<<set _individualCosts += ($foodCost*4)>>
 		<<case "curative" "aphrodisiac" "tightener">>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of specially formulated drug mixtures for enemas; 2 gallons: <<print cashFormat((100+($drugsCost*2)))>>
-			<<set $individualCosts += (100+($drugsCost*2))>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Costs of specially formulated drug mixtures for enemas; 2 gallons:</i> <<print cashFormat((100+($drugsCost*2)))>>
+			<<set _individualCosts += (100+($drugsCost*2))>>
 		<</switch>>
 	<<elseif ($slaves[$i].inflation == 2)>>
 		<<switch $slaves[$i].inflationType>>
 		<<case "water">>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of specially formulated water for enemas; 1 gallon: <<print cashFormat(50)>>
-			<<set $individualCosts += 50>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Costs of specially formulated water for enemas; 1 gallon:</i> <<print cashFormat(50)>>
+			<<set _individualCosts += 50>>
 		<<case "food">>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of filler food for slave stuffing; 1 gallon: <<print cashFormat(($foodCost*2))>>
-			<<set $individualCosts += ($foodCost*4)>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Costs of filler food for slave stuffing; 1 gallon:</i> <<print cashFormat(($foodCost*2))>>
+			<<set _individualCosts += ($foodCost*4)>>
 		<<case "curative" "aphrodisiac" "tightener">>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of specially formulated drug mixtures for enemas; 1 gallon: <<print cashFormat((50+($drugsCost*2)))>>
-			<<set $individualCosts += (50+($drugsCost*2))>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Costs of specially formulated drug mixtures for enemas; 1 gallon:</i> <<print cashFormat((50+($drugsCost*2)))>>
+			<<set _individualCosts += (50+($drugsCost*2))>>
 		<</switch>>
 	<<elseif ($slaves[$i].inflation == 1)>>
 		<<switch $slaves[$i].inflationType>>
 		<<case "water">>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of specially formulated water for enemas; 2 liters: <<print cashFormat(25)>>
-			<<set $individualCosts += 25>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Costs of specially formulated water for enemas; 2 liters:</i> <<print cashFormat(25)>>
+			<<set _individualCosts += 25>>
 		<<case "food">>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of filler food for slave stuffing; 2 liters: <<print cashFormat(($foodCost))>>
-			<<set $individualCosts += ($foodCost)>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Costs of filler food for slave stuffing; 2 liters:</i> <<print cashFormat(($foodCost))>>
+			<<set _individualCosts += ($foodCost)>>
 		<<case "curative" "aphrodisiac" "tightener">>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of specially formulated drug mixtures for enemas; 2 liters: <<print cashFormat((25+($drugsCost*2)))>>
-			<<set $individualCosts += (25+($drugsCost*2))>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Costs of specially formulated drug mixtures for enemas; 2 liters:</i> <<print cashFormat((25+($drugsCost*2)))>>
+			<<set _individualCosts += (25+($drugsCost*2))>>
 		<</switch>>
 	<</if>>
 	<<switch $slaves[$i].drugs>>
 	<<case "anti-aging cream">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Anti-aging creams: <<print cashFormat(($drugsCost*10))>>
-		<<set $individualCosts += ($drugsCost*10)>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Anti-aging creams:</i> <<print cashFormat(($drugsCost*10))>>
+		<<set _individualCosts += ($drugsCost*10)>>
 	<<case "female hormone injections" "male hormone injections">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Hormonal injections: <<print cashFormat(($drugsCost*5))>>
-		<<set $individualCosts += ($drugsCost*5)>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Hormonal injections:</i> <<print cashFormat(($drugsCost*5))>>
+		<<set _individualCosts += ($drugsCost*5)>>
 	<<case "growth stimulants">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Growth stimulants: <<print cashFormat(($drugsCost*5))>>
-		<<set $individualCosts += ($drugsCost*5)>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Growth stimulants:</i> <<print cashFormat(($drugsCost*5))>>
+		<<set _individualCosts += ($drugsCost*5)>>
 	<<case "intensive breast injections" "intensive butt injections" "intensive penis enhancement" "intensive testicle enhancement" "intensive lip injections" "hyper breast injections" "hyper butt injections" "hyper penis enhancement" "hyper testicle enhancement" "hyper lip injections">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Intensive drugs: <<print cashFormat($drugsCost*5)>>
-		<<set $individualCosts += $drugsCost*5>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Intensive drugs:</i> <<print cashFormat($drugsCost*5)>>
+		<<set _individualCosts += $drugsCost*5>>
 	<<case "sag-B-gone">>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Questionable infomercial creams: <<print cashFormat(Math.trunc($drugsCost/10))>>
-		<<set $individualCosts += ($drugsCost/10)>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Questionable infomercial creams:</i> <<print cashFormat(Math.trunc($drugsCost/10))>>
+		<<set _individualCosts += ($drugsCost/10)>>
 	<<case "no drugs" "none">>
 	<<default>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Standard drugs: <<print cashFormat(($drugsCost*2))>>
-		<<set $individualCosts += ($drugsCost*2)>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Standard drugs:</i> <<print cashFormat(($drugsCost*2))>>
+		<<set _individualCosts += ($drugsCost*2)>>
 	<</switch>>
 	<<if $slaves[$i].curatives == 1 && $slaves[$i].assignmentVisible != 1>>
 	<<elseif $slaves[$i].curatives > 0>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Health drugs: <<print cashFormat($drugsCost+($slaves[$i].curatives*$drugsCost))>>
-		<<set $individualCosts += $drugsCost+($slaves[$i].curatives*$drugsCost)>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Health drugs:</i> <<print cashFormat($drugsCost+($slaves[$i].curatives*$drugsCost))>>
+		<<set _individualCosts += $drugsCost+($slaves[$i].curatives*$drugsCost)>>
 	<</if>>
 	<<if ($slaves[$i].aphrodisiacs !== 0)>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Aphrodisiacs/Anaphrodisiacs: <<print cashFormat(Math.trunc($drugsCost*Math.abs($slaves[$i].aphrodisiacs)))>>
-		<<set $individualCosts += $drugsCost*Math.abs($slaves[$i].aphrodisiacs)>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Aphrodisiacs/Anaphrodisiacs:</i> <<print cashFormat(Math.trunc($drugsCost*Math.abs($slaves[$i].aphrodisiacs)))>>
+		<<set _individualCosts += $drugsCost*Math.abs($slaves[$i].aphrodisiacs)>>
 	<</if>>
 	<<if ($slaves[$i].hormones != 0)>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Hormones: <<print cashFormat((Math.trunc($drugsCost*Math.abs($slaves[$i].hormones)*0.5)))>>
-		<<set $individualCosts += Math.trunc($drugsCost*Math.abs($slaves[$i].hormones)*0.5)>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Hormones:</i> <<print cashFormat((Math.trunc($drugsCost*Math.abs($slaves[$i].hormones)*0.5)))>>
+		<<set _individualCosts += Math.trunc($drugsCost*Math.abs($slaves[$i].hormones)*0.5)>>
 	<</if>>
 	<<if ($slaves[$i].bodySwap > 0)>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;JS-Suppressants: <<print cashFormat(($drugsCost*10*$slaves[$i].bodySwap))>>
-		<<set $individualCosts += Math.trunc($drugsCost*10*$slaves[$i].bodySwap)>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>JS-Suppressants:</i> <<print cashFormat(($drugsCost*10*$slaves[$i].bodySwap))>>
+		<<set _individualCosts += Math.trunc($drugsCost*10*$slaves[$i].bodySwap)>>
 	<</if>>
 	<<if ($slaves[$i].preg == -1) && isFertile($slaves[$i])>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;Contraceptives: <<print cashFormat((Math.trunc($drugsCost*0.5)))>>
-		<<set $individualCosts += Math.trunc($drugsCost*0.5)>>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Contraceptives:</i> <<print cashFormat((Math.trunc($drugsCost*0.5)))>>
+		<<set _individualCosts += Math.trunc($drugsCost*0.5)>>
 	<</if>>
 	<<if ($studio == 1)>>
 		<<if ($slaves[$i].pornFameSpending > 0)>>
-			<br>&nbsp;&nbsp;&nbsp;&nbsp;Publicity: <<print cashFormat($slaves[$i].pornFameSpending/$PCSlutContacts)>>
-			<<set $individualCosts += ($slaves[$i].pornFameSpending/$PCSlutContacts)>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<i>Publicity:</i> <<print cashFormat($slaves[$i].pornFameSpending/$PCSlutContacts)>>
+			<<set _individualCosts += ($slaves[$i].pornFameSpending/$PCSlutContacts)>>
 		<</if>>
-	<</if>>
-	<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;__Total__: <<print cashFormat(Math.trunc($individualCosts))>>
+	<</if>> <<set _total += Math.trunc(_individualCosts)>>
+	<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;__Total__: <<print cashFormat(Math.trunc(_individualCosts))>>
 	<br>
 <</for>>
+Overall slave costs: @@.yellowgreen;<<print cashFormat(_total)>>@@.
+
+<br>Bringing the overall total pre reduction(s) to roughly @@.yellowgreen;<<print cashFormat(_archologyCosts+_total)>>@@.
 
 <<if $PC.career == "servant">>
 	<br>Using your prior experience, you managed to lower your home's upkeep by <<if $personalAttention == "upkeep">><<if $PC.belly >= 5000>>20%<<else>>25%<</if>><<else>>10%<</if>>.
 <</if>>
 
-<<if $secExp == 1>>
+<<if $secExp == 1>> <br>
 	<<if $terrain == "oceanic" || $terrain == "marine">>
 		<<if $docks > 0>>
 			<br>The infrastructure you've built eases the transportation and safe handling of the supplies required by the arcology. Upkeep is lowered by <<print $docks * 5>>%