diff --git a/software/code/main.c b/software/code/main.c
index 076eb4e473191ca03bbe0e5b5022f6b1457453e5..59abb792224eadfd593352a1ddff20a37823c2dd 100644
--- a/software/code/main.c
+++ b/software/code/main.c
@@ -71,6 +71,8 @@ void wait_for_any_switch_data(void) {
 // Anticlockwise ordering of coordinates
 //////////////////////////////////////////////////////////////////
 int main(void) {
+  
+while(1) {
 
   int x1 = 0 ;
   int y1 = 0 ;
@@ -81,10 +83,6 @@ int main(void) {
   int x3 = 500;
   int y3 = 70; 
   
-while(1) {
-
-  
-  
   int L1_detT ;
   int L2_detT ;
   int detT ;