diff --git a/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/DataProvider/XMLElectricMotorDeclarationInputDataProvider.cs b/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/DataProvider/XMLElectricMotorDeclarationInputDataProvider.cs
index 0deb9873f50b787c7705bd3958838b083886bbdc..d5ee832559a916d169e0fc9471528e5b705b95ac 100644
--- a/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/DataProvider/XMLElectricMotorDeclarationInputDataProvider.cs
+++ b/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/DataProvider/XMLElectricMotorDeclarationInputDataProvider.cs
@@ -321,38 +321,48 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider
 
 			foreach (var voltageLevel in VoltageLevels) {
 				foreach (var powerMap in voltageLevel.PowerMap) {
-					if(powerMap.Gear <= 0)
+					if (powerMap.Gear <= 0) {
 						continue;
+					}
 
-					if (currentGears.ContainsKey(powerMap.Gear))
+					if (currentGears.ContainsKey(powerMap.Gear)) {
 						currentGears[powerMap.Gear] = true;
-					else
-						throw new ArgumentException("The PowerMaps contains a gear which was not specified under gears");
+					} else {
+						throw new ArgumentException(
+							"The PowerMaps contains a gear which was not specified under gears");
+					}
 				}
-				if(AnyMissingGear(currentGears))
+
+				if (AnyMissingGear(currentGears)) {
 					throw new ArgumentException("The PowerMaps contains a gear which was not specified under gears");
+				}
 			}
 
 			foreach (var dragCurve in DragCurves) {
-				if(dragCurve.Gear == null)
+				if (dragCurve.Gear == null) {
 					continue;
+				}
 
-				if (currentGears.ContainsKey((int)dragCurve.Gear))
+				if (currentGears.ContainsKey((int)dragCurve.Gear)) {
 					currentGears[(int)dragCurve.Gear] = true;
-				else
+				} else {
 					throw new ArgumentException("The DragCurve contains a gear which was not specified under gears");
+				}
 			}
 
-			if (AnyMissingGear(currentGears))
+			if (AnyMissingGear(currentGears)) {
 				throw new ArgumentException("The DragCurve contains a gear which was not specified under gears");
+			}
 		}
 
 		private bool AnyMissingGear(Dictionary<int, bool> foundedGears)
 		{
 			var keys = foundedGears.Keys.ToList();
 			foreach (var key in keys) {
-				if(!foundedGears[key])
+				if (!foundedGears[key]) {
 					return true;
+				}
+
 				foundedGears[key] = false;
 			}