rewrite persisters