improvded history sharing