     @IBOutlet weak var centerImage: UIImageView!
     
     var inQueue = false
+    var pending = false
+    var active = false
     var aheadOfYou = 3
     var queueSize = 3
     var karmaPoints = 85

            queuePosLabel.text = "\(aheadOfYou)"
        }
        
        if aheadOfYou == 0 {
            setPending()
        }
    }

    
    func setPending() {
        queueEstimateLabel.isHidden = false
        queuePosLabel.isHidden = true
        urgentButton.isHidden = true

    }
    
    func setActive() {
        active = true
        pending = false
        queueEstimateLabel.isHidden = true
        queuePosLabel.isHidden = true
        centerImage.image = UIImage(named: "center_in")
    }
    
    func setInActive() {
        pending = false
        active = false
        centerImage.image = UIImage(named: "center")
        queueEstimateLabel.isHidden = false
        queuePosLabel.isHidden = false
