code: func findSystemTeams(teams []envelope.Team) (*envelope.Team, *envelope.Team, error) {
  	var members, machines *envelope.Team
  	for _, t := range teams {
  		var team = t
  		if t.Body.TeamType == primitive.SystemTeamType {
  			switch t.Body.Name {
  			case "member":
  				members = &team
  			case "machine":
  				machines = &team
  			}
  		}
  
  		if members != nil && machines != nil {
  			break
  		}
  	}
  
  	var errs []string
  	if members == nil {
  		errs = append(errs, "Member team not found.")
  	}
  	if machines == nil {
  		errs = append(errs, "Machine team not found.")
  	}
  
  	if len(errs) > 0 {
  		return nil, nil, &apitypes.Error{
  			Err:  errs,
  			Type: apitypes.NotFoundError,
  		}
  	}
  
  	return members, machines, nil
  }
docs: // findSystemTeams takes in a list of team objects and returns the members and machines
  // teams.