diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/AxleGear.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/AxleGear.cs
index 1b9e15a376a66798d34b704dfd22243b81a5e2f0..111215644b3022fef463bd288598226b1b6c513b 100644
--- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/AxleGear.cs
+++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/AxleGear.cs
@@ -42,12 +42,7 @@ using TUGraz.VectoCore.Utils;
 
 namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
 {
-	public class AxleGearState : SimpleComponentState
-	{
-		public TransmissionLossMap.LossMapResult TorqueLossResult;
-	}
-
-	public class AxleGear : StatefulVectoSimulationComponent<AxleGearState>, IPowerTrainComponent, ITnInPort,
+	public class AxleGear : StatefulVectoSimulationComponent<AxleGear.AxleGearState>, IPowerTrainComponent, ITnInPort,
 		ITnOutPort
 	{
 		protected ITnOutPort NextComponent;
@@ -128,5 +123,10 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
 			}
 			AdvanceState();
 		}
+
+		public class AxleGearState : SimpleComponentState
+		{
+			public TransmissionLossMap.LossMapResult TorqueLossResult;
+		}
 	}
 }
\ No newline at end of file