While Jennifer Lopez is currently dating Alex Rodriguez after being married to Marc Anthony, the three were able to put any differences to the side for the good of Puerto Rico.

According to a Billboard report, the three stars have raised more than $35 million for Puerto Rico hurricane relief. A spokeswoman said Lopez, Rodriguez and Anthony raised the money through donations, pledges and their own contributions. About $9 million of the money raised came from the Oct. 14 benefit show, One Voice: Somos Live! A Concert for Disaster Relief.

After marrying Anthony in 2004, Lopez and the Latin singer split in 2014. J-Lo has been dating Rodriguez, a former New York Yankees star, since early this year.

See 100 Hip-Hop Facts That Will Blow Your Mind