setup for sharding