add with_dict example