add doc for persistency