Implemented sharing feature.