Leaving a legacy through charitable giving