use modeltypes.names instead of modeltype.name