STARTD_ATTRS = $(STARTD_ATTRS) MachineOwner
 {endcode}
 
+*Alternate*.  If you are using HTCondor 8.3.8 or later, you can set different attributes in different slot *types*. This makes configuration simpler when the number of slots (and thus the slot id's) is not fixed, but varies based on some other configuration value such as NUM_CPUS
+
+{code}
+NUM_SLOTS_TYPE_1 = 2
+NUM_SLOTS_TYPE_2 = $(NUM_CPUS) - $(NUM_SLOTS_TYPE_1)
+
+STARTD_ATTRS = MachineOwner $(STARTD_ATTRS)
+
+SLOT_TYPE_1_MachineOwner = "chemistry"
+SLOT_TYPE_2_MachineOwner = "physics"
+{endcode}
+
 {subsection: How to insert custom ClassAd attributes in a machine ad via a script}
 
 You can insert dynamic attributes that are periodically updated from a script.  Here's an example of what you put in the HTCondor configuration file to periodically call a script: