working with persistor