added getBucket