adding to the share functionality