removed dupe `resetBucket` method.