working with shard