adds persistence