Here’s the path to year-end gains