Domino’s Pizza Inc posted revenue for the quarter that missed estimates by analysts for just the first time in the past two years due to the strong dollar and added that CFO Michael Lawton would retire on August 31.

Shares of the pizza company were down by 3% in midday trading Thursday on the NYSE. Revenue in the second quarter that ended on June 14 was up 8.4% to reach $488.6 million, which is the slowest growth in the past six quarters, missing analyst estimates of $489.1 million.

However, the company announced it had a better than had been expected increase in sales at same stores for the quarter helped by better online and mobile systems for ordering.

The company has outperformed its rivals of late including McDonald and Pizza Hut. One reason for the improvement has been the investment in digital tech, which helps to make it easier for the customer to order pizza, using methods of digital wallets and smartwatches.

About 50% of the U.S. sales in Dominos came via digital channels in 2014. Sales at same stores in the U.S. rose by 12.8% during the quarter, which was higher than estimates by analysts of 11.1%.

Pizza Hut on Tuesday reported a disappointing rise of just 1% in its sales at same stores. Domino’s international sales at same stores were up 6.7% excluding the impact on currency exchange. Analysts expected sales internationally to increase by 6%.

The company received about 7.4% of its overall revenue from outside the U.S. during this most recent quarter ended.

The second largest pizza chain in the U.S. by number of stores said its CFO who has been in that position since August of 2010 would be replaced by Jeffrey Lawrence the current Treasurer.

Net income increased to $45.8 million equal to 81 cents a share from last year’s during the same quarter of $38.5 million equal to 67 cents a share.

Analysts were expecting profit to be 79 cents a share. Up to the close of business on Wednesday, the company said shares were up 26% for 2015.