Updated BucketTimer as per codereview