add support for bucket sharing