             let checkIncell:CheckInCollectionViewCell = collectionView.dequeueReusableCellWithReuseIdentifier("CheckInCell", forIndexPath: indexPath) as! CheckInCollectionViewCell
             checkIncell.backgroundColor = ThemeManager.theme().primaryYellowColor()
             checkIncell.setUpUI()
-            checkIncell.setUpValuesForCheckIn(currentClass, allowedToCheckIn: allowedToCheckIn!,message: " ")
-            
-            // for now
-            let gesture = UITapGestureRecognizer(target: self, action: "attendClassTapped")
-            checkIncell.checkIntoClassLabel.addGestureRecognizer(gesture)
-            checkIncell.checkIntoClassLabel.userInteractionEnabled = true
-            
+            checkIncell.setUpValuesForCheckIn(currentClass, allowedToCheckIn: allowedToCheckIn!,message: " ")            
             return checkIncell;
         }
         

    }
    
    override func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
        if indexPath.row == 2 {
            questionsViewTapped()
        }
    }
    


        NSNotificationCenter.defaultCenter().removeObserver(self, name: Class.insideClassGeofenceNotification, object: nil)
        NSNotificationCenter.defaultCenter().removeObserver(self, name: Class.outsideClassGeofenceNotification, object: nil)
        currentClass.attendClass(self.student) { (confirmed) -> Void in
            print("woo")
            if UIApplication.sharedApplication().applicationState != UIApplicationState.Active {
                // in background... notification
                print(" \(UIApplication.sharedApplication().applicationState.rawValue) notification!")
                return
            }
            
            if self.view.window == nil {
                // view is currently not visible
                // assume foreground... alert
                let alertController = UIAlertController(
                    title: "CheckIn",
                    message: "\(self.student.studentName), you've checked in for class \(self.currentClass.name)",
                    preferredStyle: .Alert)
                
                let okAction = UIAlertAction(title: "Woo Hoo", style: .Default, handler: nil)
                alertController.addAction(okAction)
                self.presentViewController(alertController, animated: true, completion: nil)
            }
        }
    }
