All four methods of persistence done in a simple manner