added share functionality