add sharing functionality