dna now uses dicts instead of nested lists