diff --git a/GameUI.java b/GameUI.java
index 5462d3447dc573f3efdc41109c6f883588e40d41..058350cf5719085287974c766adfe2633ffee5d1 100644
--- a/GameUI.java
+++ b/GameUI.java
@@ -137,8 +137,10 @@ public class GameUI extends Application{
         board.tiles[index].setOwner(board.currentPlayer);
        
         //replace symbols with images
-        String imageSymbols = board.currentPlayer == 0 ? getClass().getResource("/textures/1_" + rnd.nextInt(3) + ".png").toExternalForm() :
-                                                         getClass().getResource("/textures/0_" + rnd.nextInt(3) + ".png").toExternalForm();
+        int i = rnd.nextInt(3);
+        String imageSymbols = board.currentPlayer == 0 ? getClass().getResource("/textures/1_" + i + ".png").toExternalForm() :
+                                                         getClass().getResource("/textures/0_" + i + ".png").toExternalForm();
+        System.out.println(i);
         Image image = new Image(""+ imageSymbols);
         ImageView imageView = new ImageView(image);