diff --git a/Documentation/Examples/cascade_example.cc b/Documentation/Examples/cascade_example.cc
index cec989d69cf3a8deb28d6d3ef315773206cb0de0..da916db785d5b90c40a84714e5736b3b978c8777 100644
--- a/Documentation/Examples/cascade_example.cc
+++ b/Documentation/Examples/cascade_example.cc
@@ -339,7 +339,7 @@ public:
   void Init() {}
   
   template <typename Particle>
-  double MinStepLength(Particle& p) const {
+  double MinStepLength(Particle& p, setup::Trajectory&) const {
     EnergyType E   = p.GetEnergy();
     MassType m     = corsika::particles::GetMass(p.GetPID());
     // env.GetDensity();
@@ -374,8 +374,8 @@ public:
   void DoDiscrete(Particle& p, Stack& s) const {
   }
   
-  template <typename Particle, typename Trajectory, typename Stack>
-  EProcessReturn DoContinuous(Particle&, Trajectory&, Stack&) const {
+  template <typename Particle, typename Stack>
+  EProcessReturn DoContinuous(Particle&, setup::Trajectory&, Stack&) const {
     return EProcessReturn::eOk;
   }
 
diff --git a/Framework/Units/PhysicalUnits.h b/Framework/Units/PhysicalUnits.h
index 54b7d3371bb79ad4906fc0cabc2c7d200a2c2047..dfddec6277470476ee5fada52c546352e9061fde 100644
--- a/Framework/Units/PhysicalUnits.h
+++ b/Framework/Units/PhysicalUnits.h
@@ -38,7 +38,8 @@ namespace corsika::units::si {
   using MassType = phys::units::quantity<phys::units::mass_d, double>;
   using MassDensityType = phys::units::quantity<phys::units::mass_density_d, double>;
   using CrossSectionType = phys::units::quantity<sigma_d, double>;
-
+  using MomentumType = phys::units::quantity<momentum_d, double>;
+  
 } // end namespace corsika::units::si
 
 /**