added sharing snippet