 
     case .Examples:
       SVProgressHUD.showWithMaskType(.Gradient)
-      viewModel.enterExample(indexPath.row, completion: resultHandler)
+      viewModel.enterExample(indexPath.row, completion: resultHandler(indexPath))
     }
   }
 

    navigationController?.pushViewController(viewController, animated: true)
  }

  func resultHandler(result:StarshipResult) {
    SVProgressHUD.dismiss()

    switch result {

    cell.textField.returnKeyType = .Go
    cell.textFieldShouldReturn = { [unowned self] textField in
      SVProgressHUD.showWithMaskType(.Gradient)
      self.viewModel.enter(apiary: textField.text, completion: self.resultHandler(nil))
      return true
    }
    return cell
