diff --git a/data_overview/data_overview.csv b/data_overview/data_overview.csv
index f0ac6bf42ff85f72edac5e4052b79bf5ba3cbcac..e9538b1b405460dd4b687f075e1b0c7713ef63da 100644
--- a/data_overview/data_overview.csv
+++ b/data_overview/data_overview.csv
@@ -1,9 +1,9 @@
 ,mean_tokens,std_dev_tokens,type_token_ratio,mean_sent,std_dev_sent
-throne_of_glass_canon,4.20580153308561,2.0348877670869365,0.4612289416846652,14.468550677890269,9.820105672393566
-grishaverse_canon,4.1116821403167725,2.1047643402022285,0.4679412861136999,14.026379022147932,9.42692548599567
-grishaverse_good_fics,4.128605681546294,2.12767094657917,0.44176648168701443,12.920361563144626,10.031898461069263
-grishaverse_bad_fics,4.192839204109023,2.1961898296996827,0.4488349209373214,13.098263374311202,10.83490565859641
-grishaverse_medium_fics,4.125989775260719,2.1266952539859654,0.4420552018160678,13.1788589173054,10.270865275375563
-throne_of_glass_good_fics,4.197038090427363,2.0907564170382065,0.4495104669887279,13.376067824328105,9.013067041149515
-throne_of_glass_bad_fics,4.123089252572971,2.075327500013793,0.43527116374871266,12.966996479535549,9.797982354809053
-throne_of_glass_medium_fics,4.123495735120379,2.072193436253281,0.4337096917417227,12.511614522473558,8.912865289012412
+throne_of_glass_canon,4.193697929352685,1.9929822413221485,0.4612289416846652,13.97989113172623,8.213478462376772
+grishaverse_canon,4.098013126056176,2.0593782606875544,0.4679412861136999,13.531299829548578,7.838649564219618
+grishaverse_good_fics,4.114071994071994,2.0786329634637415,0.44176648168701443,12.333374549139293,7.801698270484631
+grishaverse_bad_fics,4.176622194950878,2.1405686491651563,0.4488349209373214,12.38953592875258,8.124021833578277
+grishaverse_medium_fics,4.111530457967681,2.077913266534855,0.4420552018160678,12.57301135687885,8.128911796201574
+throne_of_glass_good_fics,4.1833786567246225,2.04344750307249,0.4495104669887279,12.940001358972617,7.548352348996178
+throne_of_glass_bad_fics,4.108812222902329,2.024923068917895,0.43527116374871266,12.422276893350578,7.5708298807850705
+throne_of_glass_medium_fics,4.109371642911989,2.022966253498263,0.4337096917417227,12.053047978584209,7.3979633769372635
diff --git a/data_overview/delta_scores_grouped_fanfics.png b/data_overview/delta_scores_grouped_fanfics.png
index 30baa73931768e4ceeec826040235b05ab940ee2..5e8af16e1d3fc0d1ca109537f649ad070b11d0f3 100644
Binary files a/data_overview/delta_scores_grouped_fanfics.png and b/data_overview/delta_scores_grouped_fanfics.png differ
diff --git a/data_overview/p_values_all_data.png b/data_overview/p_values_all_data.png
new file mode 100644
index 0000000000000000000000000000000000000000..f461096334ef65d00cdc088206bb0c4da987ff2e
Binary files /dev/null and b/data_overview/p_values_all_data.png differ
diff --git a/data_overview/z_scores_all_data.png b/data_overview/z_scores_all_data.png
index ae6199c3058e67693bdb3c317463425ebd92652d..662061bf14f68d0c7b25c8a4d7a8c83fcbc42ea6 100644
Binary files a/data_overview/z_scores_all_data.png and b/data_overview/z_scores_all_data.png differ
diff --git a/delta_measure.py b/delta_measure.py
index 84bb84a2676df12806801bb9bf5ae3652514b710..020e4cd5a7c0790356e8966fd2ffa0a91b5bd48e 100644
--- a/delta_measure.py
+++ b/delta_measure.py
@@ -38,8 +38,14 @@ for index, row in data_overview.iterrows():
         cell_value = data_overview.loc[index, column]
         z_score = (cell_value - mean) / std_dev
         z_scores_all_data.loc[index, column] = z_score
-        p_value = scipy.stats.norm.sf(abs(z_score))
-        p_values_all_data[index, column] = p_value
+        #p_value = scipy.stats.norm.sf(abs(z_score))
+        #p_values_all_data[index, column] = p_value
+
+for index, row in z_scores_all_data.iterrows():
+    for column in z_scores_all_data.columns:
+        cell_value = z_scores_all_data.loc[index, column]
+        p_value = scipy.stats.norm.sf(abs(cell_value))
+        p_values_all_data.loc[index, column] = p_value
 
 
 dfi.export(z_scores_all_data, "data_overview/z_scores_all_data.png", table_conversion = "matplotlib")
diff --git a/grishaverse/freq_distribution/all_canon_token_len.png b/grishaverse/freq_distribution/all_canon_token_len.png
index 8da91073375f6b20e370b621d637c2d97588f00c..b24b05e8374071aee46c8a753d36925eff2b9f56 100644
Binary files a/grishaverse/freq_distribution/all_canon_token_len.png and b/grishaverse/freq_distribution/all_canon_token_len.png differ
diff --git a/grishaverse/freq_distribution/bad_fics_sent_len_long.png b/grishaverse/freq_distribution/bad_fics_sent_len_long.png
index 8285f0a814d7a85b310fc5bc6b557d4d4794cea6..368a2d9e2e0f0fbe5c19b19ce2a4e4c85b766272 100644
Binary files a/grishaverse/freq_distribution/bad_fics_sent_len_long.png and b/grishaverse/freq_distribution/bad_fics_sent_len_long.png differ
diff --git a/grishaverse/freq_distribution/bad_fics_sent_len_short.png b/grishaverse/freq_distribution/bad_fics_sent_len_short.png
index 102829dd127f0e06360a1cbea7ba9723cd72f3f5..7611fc8a25edc5fd27809e292cd310d5f3d613ff 100644
Binary files a/grishaverse/freq_distribution/bad_fics_sent_len_short.png and b/grishaverse/freq_distribution/bad_fics_sent_len_short.png differ
diff --git a/grishaverse/freq_distribution/bad_fics_token_len.png b/grishaverse/freq_distribution/bad_fics_token_len.png
index 1113e11cea6d9ba912f92ae88ff5a362b0456e10..3f9e8d1a81d03fb6267620634bd2899c8b0e5791 100644
Binary files a/grishaverse/freq_distribution/bad_fics_token_len.png and b/grishaverse/freq_distribution/bad_fics_token_len.png differ
diff --git a/grishaverse/freq_distribution/canon_sent_len_long.png b/grishaverse/freq_distribution/canon_sent_len_long.png
index b5bb6f92a331cc31cdaec672ff2f76d8ce4cd7d3..fc2c22ae14703bef6e36cb5020f6828b1fea896d 100644
Binary files a/grishaverse/freq_distribution/canon_sent_len_long.png and b/grishaverse/freq_distribution/canon_sent_len_long.png differ
diff --git a/grishaverse/freq_distribution/canon_sent_len_short.png b/grishaverse/freq_distribution/canon_sent_len_short.png
index 76e8634cdf6e3d8841af822e58e3706bd4d7ce01..a9e8c7ddf8d85ae42a1742a44ddc3f3345460274 100644
Binary files a/grishaverse/freq_distribution/canon_sent_len_short.png and b/grishaverse/freq_distribution/canon_sent_len_short.png differ
diff --git a/grishaverse/freq_distribution/good_fics_sent_len_long.png b/grishaverse/freq_distribution/good_fics_sent_len_long.png
index c56a52ca97d587d24f35b5a7f81b1b33369b751d..dfa59ad1db119fc49d95df57960e3e9678d5b90e 100644
Binary files a/grishaverse/freq_distribution/good_fics_sent_len_long.png and b/grishaverse/freq_distribution/good_fics_sent_len_long.png differ
diff --git a/grishaverse/freq_distribution/good_fics_sent_len_short.png b/grishaverse/freq_distribution/good_fics_sent_len_short.png
index ae1ae050d8f26fd47d49628ee0152c8686345552..cc518afc83148306534fa7ab938a7f4fe5947206 100644
Binary files a/grishaverse/freq_distribution/good_fics_sent_len_short.png and b/grishaverse/freq_distribution/good_fics_sent_len_short.png differ
diff --git a/grishaverse/freq_distribution/good_fics_token_len.png b/grishaverse/freq_distribution/good_fics_token_len.png
index ffbf132cd1bb5b9437e3dc2c22db03423ffc5040..923ebce132a8670dab0ae870ba0c75dd0ab35468 100644
Binary files a/grishaverse/freq_distribution/good_fics_token_len.png and b/grishaverse/freq_distribution/good_fics_token_len.png differ
diff --git a/grishaverse/freq_distribution/medium_fics_sent_len_long.png b/grishaverse/freq_distribution/medium_fics_sent_len_long.png
index 82dcf105ccc198ddb33a5a4d7909ca97a64ac90e..cab03bffd167a8013bdd212b7482e2540a04bdbf 100644
Binary files a/grishaverse/freq_distribution/medium_fics_sent_len_long.png and b/grishaverse/freq_distribution/medium_fics_sent_len_long.png differ
diff --git a/grishaverse/freq_distribution/medium_fics_sent_len_short.png b/grishaverse/freq_distribution/medium_fics_sent_len_short.png
index 6fe0d8a354f8b1eb3eb68692cbd6b930b46e4726..c128855c6e6730e37f268ef24308c384e4222a59 100644
Binary files a/grishaverse/freq_distribution/medium_fics_sent_len_short.png and b/grishaverse/freq_distribution/medium_fics_sent_len_short.png differ
diff --git a/grishaverse/freq_distribution/medium_fics_token_len.png b/grishaverse/freq_distribution/medium_fics_token_len.png
index addf5151a6d48dd161926e032d12e3554136422e..50b76c31d5999328ec6f0e706ddea6511d0d9354 100644
Binary files a/grishaverse/freq_distribution/medium_fics_token_len.png and b/grishaverse/freq_distribution/medium_fics_token_len.png differ
diff --git a/stylometry_code.py b/stylometry_code.py
index 98088f1c813717a4eaa0c3475ee5ac26bd8b4d44..6afec30a9aa461ffe3511b8b73a80a92d367a29c 100644
--- a/stylometry_code.py
+++ b/stylometry_code.py
@@ -130,6 +130,14 @@ def mendenhall_curve(corpus, curve_title, plot_destination):
     # create the distribution of token lengths / Mendenhall curve
 
     token_lengths = [len(token) for token in short_clean_tokens]
+
+    # Calculate the trimmed token length (with 5% trimming) We need to remove the outliers, bc even despite preprocessing, 
+    # there still are some very wrong lengths, which entirely skews the metrics and also ruins our p-values later on
+    trim_percent = 0.005
+    trim_len = int(len(token_lengths) * trim_percent / 2)
+    token_lengths = sorted(token_lengths)[trim_len:-trim_len]
+
+
     token_length_distribution = FreqDist(token_lengths).most_common(15)
 
     # convert to FreqDist object to a pandas series for easier processing
@@ -187,6 +195,12 @@ def sentence_metrics(corpus, curve_title, series, canon_or_fanfic):
         #if len(short_clean_tokens)>= 90:
             #print(f"This sentence: \n {sent} \n is this long: {len(short_clean_tokens)}")
     
+    # Calculate the trimmed mean sentence length (with 5% trimming) We need to remove the outliers, bc even despite preprocessing, 
+    # there still are some sentences that are 1200 tokens long, which entirely skews the metrics and also ruins our p-values later on
+    trim_percent = 0.05
+    trim_len = int(len(sent_lens) * trim_percent / 2)
+    sent_lens = sorted(sent_lens)[trim_len:-trim_len]
+    
 
     sent_len_dist = FreqDist(sent_lens)
     #print(sent_len_dist)
@@ -343,7 +357,7 @@ def pos_tag_frequencies(corpus, series, canon_or_fanfic):
 
     # convert FreqDist object to a pandas series for easier processing
     tag_freq_dist_panda = pd.Series(dict(tag_freq_dist))
-    print(tag_freq_dist_panda)
+    #print(tag_freq_dist_panda)
     
     # sort, normalise and round the panda series
 
@@ -378,7 +392,7 @@ def pos_tag_frequencies(corpus, series, canon_or_fanfic):
 
     # convert FreqDist object to a pandas series for easier processing
     punct_tag_freq_dist_panda = pd.Series(dict(punct_tag_freq_dist))
-    print(punct_tag_freq_dist_panda)
+    #print(punct_tag_freq_dist_panda)
     
     # sort, normalise and round the panda series
 
@@ -389,7 +403,7 @@ def pos_tag_frequencies(corpus, series, canon_or_fanfic):
     #for index in new_token_len_dist.index:
         new_punct_tag_freq_dist.iat[i] = round(new_punct_tag_freq_dist.iat[i]/len(punctuation_tags), 3) #index-1 bc the index starts counting from zero, the word lengths not
     
-    print(new_punct_tag_freq_dist)
+    #print(new_punct_tag_freq_dist)
 
     # set figure, ax into variables
     fig, ax = plt.subplots(figsize=(10,10))
diff --git a/throne_of_glass/freq_distribution/all_canon_token_len.png b/throne_of_glass/freq_distribution/all_canon_token_len.png
index 65302465513bfb3f916fa19de2d7bb3775c911a5..00847158adb8947a767e564a0792e6ecdc972f04 100644
Binary files a/throne_of_glass/freq_distribution/all_canon_token_len.png and b/throne_of_glass/freq_distribution/all_canon_token_len.png differ
diff --git a/throne_of_glass/freq_distribution/bad_fics_sent_len_long.png b/throne_of_glass/freq_distribution/bad_fics_sent_len_long.png
index 585a3ecba71c530622f5b3951db70007e0c29296..19371fb87196cd056017c23a945aea701d45ca18 100644
Binary files a/throne_of_glass/freq_distribution/bad_fics_sent_len_long.png and b/throne_of_glass/freq_distribution/bad_fics_sent_len_long.png differ
diff --git a/throne_of_glass/freq_distribution/bad_fics_sent_len_short.png b/throne_of_glass/freq_distribution/bad_fics_sent_len_short.png
index a2736f970ad8feb6ec6415b4a6195e672d880b9e..95d725ea18fe8511b29da836293762892144e882 100644
Binary files a/throne_of_glass/freq_distribution/bad_fics_sent_len_short.png and b/throne_of_glass/freq_distribution/bad_fics_sent_len_short.png differ
diff --git a/throne_of_glass/freq_distribution/bad_fics_token_len.png b/throne_of_glass/freq_distribution/bad_fics_token_len.png
index e81815e73940035d2051c60853f9ce74ff1c314d..42885cb55ab2ba1934910b76f4c6c6d01cef6ae4 100644
Binary files a/throne_of_glass/freq_distribution/bad_fics_token_len.png and b/throne_of_glass/freq_distribution/bad_fics_token_len.png differ
diff --git a/throne_of_glass/freq_distribution/canon_sent_len_long.png b/throne_of_glass/freq_distribution/canon_sent_len_long.png
index 528934d58367b68d6571798ab41059aeb268806a..a740c0da502af363a69e83a1db522eaaea2127b6 100644
Binary files a/throne_of_glass/freq_distribution/canon_sent_len_long.png and b/throne_of_glass/freq_distribution/canon_sent_len_long.png differ
diff --git a/throne_of_glass/freq_distribution/canon_sent_len_short.png b/throne_of_glass/freq_distribution/canon_sent_len_short.png
index e12c7221f8f3ce3801fcaaf65ddb09e5299c55b8..5e6b8bd78f36c98d12e81d907f6387ab27fc5020 100644
Binary files a/throne_of_glass/freq_distribution/canon_sent_len_short.png and b/throne_of_glass/freq_distribution/canon_sent_len_short.png differ
diff --git a/throne_of_glass/freq_distribution/good_fics_sent_len_long.png b/throne_of_glass/freq_distribution/good_fics_sent_len_long.png
index 285a4ea14f106a59a1149325c26098561135fe94..16d257c491baff52951e4726248e4a7d29acf093 100644
Binary files a/throne_of_glass/freq_distribution/good_fics_sent_len_long.png and b/throne_of_glass/freq_distribution/good_fics_sent_len_long.png differ
diff --git a/throne_of_glass/freq_distribution/good_fics_sent_len_short.png b/throne_of_glass/freq_distribution/good_fics_sent_len_short.png
index 3b0223095fa33941ba91e8a707cc3da9f3cce767..0b605d651d9972e2d0af7b71e077f82d87fc6b2a 100644
Binary files a/throne_of_glass/freq_distribution/good_fics_sent_len_short.png and b/throne_of_glass/freq_distribution/good_fics_sent_len_short.png differ
diff --git a/throne_of_glass/freq_distribution/good_fics_token_len.png b/throne_of_glass/freq_distribution/good_fics_token_len.png
index e76175ba06df630b82d53f56a82289663ddbeba3..c214fb13413dfd61c79d7e4268fc4aef9fdfcc4d 100644
Binary files a/throne_of_glass/freq_distribution/good_fics_token_len.png and b/throne_of_glass/freq_distribution/good_fics_token_len.png differ
diff --git a/throne_of_glass/freq_distribution/medium_fics_sent_len_long.png b/throne_of_glass/freq_distribution/medium_fics_sent_len_long.png
index b07f8f8f01c60acf419d6eb450fdc06f0caf5ef1..8da286d0005c431c723c4bbfc9ff647daaa68f4c 100644
Binary files a/throne_of_glass/freq_distribution/medium_fics_sent_len_long.png and b/throne_of_glass/freq_distribution/medium_fics_sent_len_long.png differ
diff --git a/throne_of_glass/freq_distribution/medium_fics_sent_len_short.png b/throne_of_glass/freq_distribution/medium_fics_sent_len_short.png
index 0643ee6929c32fa04cb689b6e4d32624ab054f8f..c41eb9b0d6591b1308ff97775c8c58b3f4ea7cb2 100644
Binary files a/throne_of_glass/freq_distribution/medium_fics_sent_len_short.png and b/throne_of_glass/freq_distribution/medium_fics_sent_len_short.png differ
diff --git a/throne_of_glass/freq_distribution/medium_fics_token_len.png b/throne_of_glass/freq_distribution/medium_fics_token_len.png
index 4a6f6afe23c99a1d2da8e545747b5e4a332d177a..1628439351003978546c86c6acf6d3fea5dc2beb 100644
Binary files a/throne_of_glass/freq_distribution/medium_fics_token_len.png and b/throne_of_glass/freq_distribution/medium_fics_token_len.png differ