added sharing but not finished