working on saving dicts