made dicts saving and modifying