static void SetUpThreads() { cR = new CommandReader(); commandThread = new Thread(cR.getCommands); commandThread.Start(); uD = new UpdatingDatabase(); uD.openSlots = CountConnected(); updateDatabaseT = new Thread(uD.UpdateDatabase); updateDatabaseT.Start(); }