remove share function