What happened Shares of Bill Barrett Corporation (NYSE: BBG) skyrocketed on Wednesday and were up more than 18% at 12:45 p.m. EDT. That's after the shale driller posted expectation-smashing third-quarter results and boosted its full-year outlook. So what Heading into the third quarter, analysts expected that Bill Barrett would post an adjusted loss of $0.20 per share due to the impact of low oil prices. However, the company's loss came in much less than expected at $0.08 per share. Image source: Getty Images. Several factors fueled that better-than-expected result. First, production was up 26% from just the second quarter, led by a 33% increase in higher-margin oil volumes. Further, the company delivered that growth while spending less capital than expected. In addition to that, lease operating costs declined by 15% from last quarter. That combination of higher production and lower expenses helped improve profitability. As a result of that strong showing, Bill Barrett boosted its full-year outlook, with it now expecting that output will increase 21% from last year at the midpoint of its guidance after adjusting for asset sales. Further, the company said it started marketing its Uinta Oil Program assets in Utah so it can focus on its fast-growing DJ Basin position in Colorado. Now what Bill Barrett has taken investors on a wild ride this year -- plunging more than 50% at one point -- and is still down more than 15% for the year even after today's rally. That said, the company could have more upside ahead since it expects to accelerate its growth rate to 30% next year, which could fuel an even greater increase in cash flow given the recent rise in oil prices. While the company is a high-risk growth stock, undaunted investors could make a mint on Bill Barrett if crude keeps climbing and the company delivers on its ambitious growth plan. 10 stocks we like better than Bill BarrettWhen investing geniuses David and Tom Gardner have a stock tip, it can pay to listen. After all, the newsletter they have run for over a decade, Motley Fool Stock Advisor, has tripled the market.* David and Tom just revealed what they believe are the 10 best stocks for investors to buy right now... and Bill Barrett wasn't one of them! That's right -- they think these 10 stocks are even better buys. Click here to learn about these picks! *Stock Advisor returns as of October 9, 2017Matthew DiLallo has no position in any of the stocks mentioned. The Motley Fool has no position in any of the stocks mentioned. The Motley Fool has a disclosure policy.