def METHOD_NAME(field, i):
    """Write the given value to the pickled db."""
    PickledDB.instance = None
    orion_db = PickledDB(host="orion_db.pkl")
    try:
        orion_db.METHOD_NAME("concurrent", {field: i})
    except DuplicateKeyError:
        print("dup")
    print(field, i)