add share functionality