I think defaultdict would be more useful if one could initialize it with the option to have the key that is being looked up passed to default_factory. -- Zachary Burns (407)590-4814 Aim - Zac256FL Production Engineer (Digital Overlord) Zindagi Games