       }
       orgs
 
-    @paidFor = @komp =>
-      @payer() and (@payer() isnt VM.current_user().login)
-
-    @selfPayer = @komp =>
-      @payer() and (@payer() is VM.current_user().login)
-
-    @notPaid = @komp =>
-      not @payer()?
-
-    @savedCardNumber = @komp =>
-      return "" unless @cardInfo()
-      "************" + @cardInfo().last4
-
-
-    # use computed observable because knockout select boxes make it hard to do otherwise
+    @organizations = @komp =>
+      (k for k,v of @teamMembers())
+
     @selectOrganization = @komp
+      # use computed observable because knockout select boxes make it hard to do otherwise
       write: (value) =>
         @selectedOrganization(value)
         if value

        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

          @collaborators(cs)
          SammyApp.setLocation "/account/plans/users"

      read: () =>
        @selectedOrganization()



  selectPlan: (plan) =>
    @chosenPlan(plan)
    SammyApp.setLocation "/account/plans/organization"

  load: () =>
