How to profit from safe end-of-year functions