added sharing stuff