preliminary work on persisted