add persistence example