     func showGameCenter(viewController: UIViewController, viewState: GKGameCenterViewControllerState) {
         presentingViewController = viewController
         
-        var gcvc = GKGameCenterViewController()
+        let gcvc = GKGameCenterViewController()
         gcvc.viewState = viewState
         gcvc.gameCenterDelegate = self
         presentingViewController.presentViewController(gcvc, animated: true, completion: nil)

        delegate = theDelegate
        presentingViewController.dismissViewControllerAnimated(false, completion: nil)
        
        var request = GKMatchRequest()
        request.minPlayers = minPlayers
        request.maxPlayers = maxPlayers
        
        var mmvc = GKMatchmakerViewController(matchRequest: request)
        mmvc.matchmakerDelegate = self
        
        presentingViewController.presentViewController(mmvc, animated: true, completion: nil)

    }
    
    func reportLeaderboardIdentifier(identifier: String, score: Int) {
        let scoreObject = GKScore(leaderboardIdentifier: identifier)
        scoreObject.value = Int64(score)
            if (error != nil) {
        GKScore.reportScores([scoreObject]) { (error) -> Void in
