WIP: implement sharing