added comments on bucketHandler