delete make_dict function