added share code