also served as a form of surveillance. The law and its strict implementation thereof gave the impression of the Pasha's constant presence. The Pasha highly regarded law and fabricated in his society a strong link between crime and punishment. If a soldier committed crime, its discovery was assumed to be definite along with the punishment thereof. For example, a deserter would receive 15 days imprisonment and 200 lashes for his crime. The harsh punishment, coupled with the fact that roll was called three times daily, dispelled any thought of desertion on the part of the soldier. The previous conception of punishment changed from vengeance to certainty. By far the biggest military reform in this period was crafting the military mindset into one of absolute obedience to prevent any want of dissent. As the soldiers left their old lives for their new military life, they learned their new place in society through their own unique law code and practice. The transition from corporal punishment as the official policy for punishment to imprisonment is important to the modernization of Egypt's army. The reasoning was that the law can always be applied and a soldier can always be punished for his crimes and that is a better deterrent for crimes than public physical punishments are. However, corporal punishment was not entirely removed. Oftentimes, corporal punishment, such as whipping, will be used along with imprisonment. Prison sentences were divided into three types: light house arrest, heavy house arrest, and imprisonment in the camp jail. Light house arrest had the soldier in isolation for up to two months. Heavy house arrest is limited to one month and has a guard watching over the prisoner and the last option is imprisonment in the camp jail for up to fifteen days. Policies was also enacted to modernize the army in the way they are structured outside the battlefield. Soldiers were given identification numbers to use on paperwork. A wider variety of uniforms were used to differentiate between ranks. Even buildings has regulations placed on them. Tents were to be placed a set distance between each other and every building had an assigned location within the camp. All of these policies were designed to instill discipline and a sense of collective regularity in every soldier. Passing laws with a strict punishment regime was not sufficient for the soldiers to internalize the different army regulations that they were asked