removed old sharing code