energy sector gains