Implemented share functionality