Due to rising gas prices, rideshare company Lyft announced Monday that it will add a temporary fuel surcharge to ride costs as compensation to drivers.

Lyft drivers are contract workers and they are responsible for filling up their own car tanks. An increase in gas prices directly affects their earnings. The national average price for gas is $4.325, according to the American Automobile Association.

“We’ve been closely monitoring rising gas prices and their impact on our driver community,” Lyft spokesperson C.J. Macklin said in a statement. “Driver earnings overall remain elevated compared to last year, but given the rapid rise in gas prices we’ll be asking riders to pay a temporary fuel surcharge, all of which will go to drivers. We’ll share more details shortly.”

Gas prices continue to climb amid the sanctioning of Russia following its invasion of Ukraine.

Lyft’s fuel surcharge comes a week after competitor Uber announced a similar change. Uber users will be charged about $0.45 to $0.55 extra per trip starting on Wednesday, the company said.

Lyft has not announced the price of its surcharge. The fuel surcharge goes straight to drivers.