share function
share function