remove some redundant looping; guarantee alternate models are unique to reduce duplication