diff --git a/Documentation/Examples/stopping_power.cc b/Documentation/Examples/stopping_power.cc
index 5e2423b0c63c557ccf18369677fb1bff5be5b1e5..f8064d0aa76adce275ed48f262e4ec39d8f7882a 100644
--- a/Documentation/Examples/stopping_power.cc
+++ b/Documentation/Examples/stopping_power.cc
@@ -9,6 +9,7 @@
  */
 
 #include <corsika/environment/Environment.h>
+#include <corsika/environment/ShowerAxis.h>
 #include <corsika/geometry/Sphere.h>
 #include <corsika/process/energy_loss/EnergyLoss.h>
 #include <corsika/setup/SetupStack.h>
@@ -44,9 +45,9 @@ int main() {
       rootCS, 0_m, 0_m,
       112.8_km); // this is the CORSIKA 7 start of atmosphere/universe
 
-  Vector<dimensionless_d> showerAxis(rootCS, {0, 0, -1});
-
-  process::energy_loss::EnergyLoss eLoss(injectionPos, showerAxis);
+  environment::ShowerAxis showerAxis{injectionPos,
+                                     Vector<length_d>{rootCS, 0_m, 0_m, 1_m}, env};
+  process::energy_loss::EnergyLoss eLoss{showerAxis};
 
   setup::Stack stack;