add the share method to the export