Implemented Threading on reading the buckets