storing in dicts instead