added sharing of history