Assign treadmill ids without using a hashtable