def sharding