Added persistence to sharding