adding functionality to shard the collection too