code changes of sharing