sets up persistence data