updated the sharing part