There have been better years for making money in oil and gas, but for investors in publicly traded midstream companies, 2016 got the job done.

Hart Energy’s Midstream 50 stock index showed a 24.8% increase for the year. The index tracks performance of the sector’s leading companies as measured by 2015 EBITDA, and is weighted by market capitalization.