Sharing code added