diff --git a/pb_utils/pb_submitter/test_prog.c b/pb_utils/pb_submitter/test_prog.c
index a1260e89cfbf559150df0130b4a85121a34db906..74d87392c32815ad0502096c0bafc295b89fa7ac 100644
--- a/pb_utils/pb_submitter/test_prog.c
+++ b/pb_utils/pb_submitter/test_prog.c
@@ -5,12 +5,13 @@ int main(void)
 {
     // Make sure program is not finished before pb scheduler takes control
     sleep(1);
-    int a = 0;
     int b = 0;
     for (;b < 100; b++) {
-      for (;a < 100000; a++){asm("");}
+      int a = 0;
+      int c = 0;
+      for (;a < 100000; a++){c = c + a;}
       // check if program runs && syscall to switch tasks
-      printf("loop run: %d \n", b);
+      printf("loop run: %d, c = %d \n", b, c);
       usleep(1);
     }
     return 0;