Here’s a way to get a pension-like benefit in retirement