_.each(
      ['left', 'right'],
      function (type) {
        var port = type + 'Ports';
        _.each(