   }
   if (game_started && !score_proc.running()) {
     game_started = 0;
-    listen_table();
   }
 }
 
 void listen_table() {
   board_id = get_yun_mac();
-  Serial.println("listening");
-  String cmd = "curl --no-buffer -L -k -H 'Accept: text/event-stream' '" + DATA_NAME + "/tables/" + board_id + "/current_game.json" + DATA_AUTH + "'";
-  Serial.println(cmd);
-  if (game_proc.running()) {
-    game_proc.close();
-  }
-  game_proc.runShellCommandAsynchronously(cmd); 
+  Serial.println("listening on:" + board_id);
+  //if (game_proc.running()) {
+  //  game_proc.close();
+  //}
+  game_proc.runShellCommandAsynchronously("curl --no-buffer -L -k -H 'Accept: text/event-stream' '" + DATA_NAME + "/tables/" + board_id + "/current_game.json" + DATA_AUTH + "'");
 }
 
 void listen_game(String game_id) {
-  Serial.println("listening to a game");
-  String cmd = "curl --no-buffer -L -k -H 'Accept: text/event-stream' '" + DATA_NAME + game_id + ".json" + DATA_AUTH + "'";
-  Serial.println(cmd);
   if (score_proc.running()) {
     score_proc.close();
   }
-  score_proc.runShellCommandAsynchronously(cmd);
+  score_proc.runShellCommandAsynchronously("curl --no-buffer -L -k -H 'Accept: text/event-stream' '" + DATA_NAME + game_id + ".json" + DATA_AUTH + "'");
 }
 
 String get_yun_mac() {

}

void update_display() {
  u8g.setFont(u8g_font_profont22);
  u8g.setPrintPos(15, 15);
  u8g.print(MSG_BANNER);
  //u8g.setFont(u8g_font_profont10);

#define       INTERVAL_ANIMATION    20
#define       INTERVAL_CHECKSCORE   1000


String        DATA_PAYLOAD        = "{\".sv\": \"timestamp\"}";
// String        DATA_AUTH         = "?auth=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0NjU2NjMwMDksInYiOjAsImQiOnsidWlkIjoiYmFuYW5hIn0sImlhdCI6MTQ2MzA3MTAwOX0.qEaQ0mSFd48a_NiUIX53OI6PuLKOOFRvJ9akcBMEKH4";
String DATA_AUTH = "";
String        DATA_NAME           = "https://functions-prerelease-11-bb35b.firebaseio.com";
String        MSG_BANNER          = "fireboy";
int           game_started        = 0;
