[wip] share function
add share function