wrapping up persistence