slight mods so collections can be used for non models as well