     // MARK: UITableViewDelegate
     func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
         let cell = tableView.dequeueReusableCellWithIdentifier(identifier) as! PregameRoomViewCell
-        let playerAtIndex = room.getPlayers()[indexPath.row]
+        let playerAtIndex = Room.instance.getPlayers()[indexPath.row]
         cell.nameLabel.text = String(indexPath.row + 1) + ". " + playerAtIndex.getPlayerName()
         
         // Determine team switch color

    
    func teamDidChange(redTeam: Bool) {
        if redTeam {
            self.room.getPlayerWithUUID(self.player.getPlayerUUID())?.setTeam(Team.Red)
        } else {
            self.room.getPlayerWithUUID(self.player.getPlayerUUID())?.setTeam(Team.Blue)
        }
        self.room.getPlayerWithUUID(self.player.getPlayerUUID())?.setIsClueGiver(false)
        self.broadcastData()
    }
    

    
    @objc
    private func broadcastData() {
        var data = NSKeyedArchiver.archivedDataWithRootObject(Room.instance)
        MultipeerManager.instance.broadcastData(data)
        
        data = NSKeyedArchiver.archivedDataWithRootObject(self.connectedPeers)
        MultipeerManager.instance.broadcastData(data)
    }
    
    private func goToGame() {
