Added sharing code WIP