now with dill serialization