diff --git a/jass_preprocessing/save_output.py b/jass_preprocessing/save_output.py
index de6817896a5f939ce586d4a50d881b8547841fd6..6e3498ce648c928afac4747cf739ddb704cff08b 100644
--- a/jass_preprocessing/save_output.py
+++ b/jass_preprocessing/save_output.py
@@ -43,8 +43,9 @@ def save_output(mgwas, ImpG_output_Folder, my_study):
                     'A0': mgwas_copy.ref,
                     'A1':mgwas_copy.alt,
                     'Z': mgwas_copy.computed_z,
-                    'P': mgwas_copy.pval
-        }, columns= ['chrom','rsID', 'pos', 'A0', "A1", "Z", "P" ])
+                    'P': mgwas_copy.pval,
+                    "N": mgwas_copy.computed_N
+        }, columns= ['chrom','rsID', 'pos', 'A0', "A1", "Z", "P", "N"])
 
     impg_output_file = ImpG_output_Folder + 'z_'+ my_study +".txt"
     print("WRITING results for {} to: {}".format( my_study, ImpG_output_Folder))