       @machineListsByName = {}
 
       { shared, collaboration } = machines
-
-      if shared.length or collaboration.length
-        @createMachineList 'shared', {}, { shared, collaboration }
-
-      @createMachineList 'own', {}, machines.own
+      sharedData = { shared, collaboration }
+
+      @sharedMachinesList = @createMachineList 'shared', {}, sharedData
+      @ownMachinesList    = @createMachineList 'own', {}, machines.own
 
 
   createMachineList: (type, options, data) ->

  #   @watchedMachines[machine._id] = yes


  fetchMachines: (callback) ->

    remote.api.Sidebar.fetchEnvironment (err, data) =>

    @machineListsByName[type] = list

    @addSubView list, null, yes

    return list



