diff --git a/Examples/Example4/Snakefile b/Examples/Example4/Snakefile
new file mode 100644
index 0000000000000000000000000000000000000000..d299748acf6558d08889a9112d4985cfc71d5bd1
--- /dev/null
+++ b/Examples/Example4/Snakefile
@@ -0,0 +1,22 @@
+# create a list of n indices, increase if more core avalaible
+job_list=[]
+for n in range(10):
+  job_list.append(str(n))
+
+rule trigger:
+  input:
+    expand("root/analysis/Example4_{id}.root",id=job_list)
+
+rule simulation:
+  output:
+    "root/simulation/Example4_{id}.root"
+  shell:
+    "npsimulation -D Example4.detector -E Example4.reaction -O Example4_{wildcards.id} -B run.mac --random-seed {wildcards.id}" 
+
+rule analysis:
+  output:
+    "root/analysis/Example4_{id}.root"
+  input:
+    "root/simulation/Example4_{id}.root"
+  shell:
+    "npanalysis -T SimulatedTree root/simulation/Example4_{wildcards.id}.root -O Example4_{wildcards.id}"
diff --git a/Examples/Example4/project.config b/Examples/Example4/project.config
new file mode 100644
index 0000000000000000000000000000000000000000..5b6e7e603de842f6ae1d82cc364e28cc5046f477
--- /dev/null
+++ b/Examples/Example4/project.config
@@ -0,0 +1,5 @@
+Project FDC2
+ AnalysisOutput= ./root/analysis
+ SimulationOutput= ./root/simulation
+ EnergyLoss= ./EnergyLossTable
+