       }
     }
     break;
-    default:
+  default:
     break;
   }
   

      }
    }
    break;
    case CONNECTED:
    // temporarily for debugging 
    // turn on the ligth to indicate
    digitalWrite(ledStatePin, HIGH);

    } 

    break;
  case PENDING:
    end_time = millis();

    if(end_time - toggle_time > ledStateInterval) {
