Added configure for sharding