finish myshare function