           @collaborators(cs)
           SammyApp.setLocation "/account/plans/users"
 
-
-
       read: () =>
         @selectedOrganization()
 
-    @organizations = @komp =>
-      (k for k,v of @teamMembers())
-
-    @refineNextPath = @komp =>
-      "/account/plans/card"
 
 
   selectPlan: (plan) =>
-    @selectedPlan(plan)
+    @chosenPlan(plan)
     SammyApp.setLocation "/account/plans/organization"
 
   load: () =>

        b.price - a.price # most expensive first
      ap

    @total = @komp =>
      total = 0
      for c in @collaborators()
        total += c.plan().price if c.plan()?
      total / 100


    @userMatrix = @komp =>
      users = {}
      for c in @collaborators()
        users[c.login] = c.plan().id if c.plan()?
      users

    @organizationMatrix = @komp =>
      orgs = {} # TODO: merge with existing plans

  loadExistingPlans: () =>
    $.getJSON '/api/v1/user/existing-plans', (data) =>
      @cardInfo(data.card_info)
      @oldTotal(data.amount / 100)
      @payer(data.payer)

      # we want the first plan/org, but iteration is the only way to get that from an object
      for k,v of data.orgs
        @existingOrganization(k)
        @existingPlanName v['default']
        break


  loadTeamMembers: () =>
