don't forget to expose persist