added sharing in custom