added dill serialization