first draft of persistence