simplified create_dict