Apache Corp. (NYSE: APA) said it had started deploying additional capital and expected spending this year to be at the higher end of its forecast range, given “modest signs of improvement” in oil prices.

Apache, which reported a bigger-than-expected loss Aug. 4, said it expected to spend at the high end of its 2016 capital forecast of $1.4 billion-$1.8 billion.

U.S. benchmark oil prices have shot up nearly 58% since touching a 12 year-low of $26 in February, prompting oil producers to put rigs back to work.

Apache said it recently added a rig in the Midland Basin in Texas and was maintaining operations on two rigs in the North Sea, while “accelerating strategic testing initiatives.”

The company spoke of a “better investment environment” in May, signaling that it may ramp up spending.

Chesapeake Energy Corp. (NYSE: CHK) also said Aug. 4 it expected capital spending this year to be at the higher end of its forecast range.

Apache’s total oil and gas output averaged 535,456 barrels of oil equivalent per day (boe/d) in the second quarter, down from 579,827 boe/d in the year-earlier period.

Apache’s total revenue slumped nearly 39%, outpacing a near-32 percent fall in total costs and expenses.

The Houston-based company's net loss narrowed to $244 million, or 65 cents per share, in the quarter ended June 30, from $860 million, or $2.28 per share, a year earlier.

The adjusted net loss of 26 cents per share was much higher than analysts' average estimate of 15 cents, according to Thomson Reuters I/B/E/S.

Revenue of $1.38 billion was marginally above analysts’ estimate of $1.37 billion.