BucketFill functionality added