“The Simpsons” is paying homage to “Breaking Bad” on Sunday night with a special opening sequence that mimics the crime drama’s intro - right down to its use of the periodic table.

“The hardest part was making sure there were elements whose symbols were Th and Si,” “Simpsons” executive producer Al Jean told Entertainment Weekly. “Once we had that, we were off to the races.”

The rest of the intro is set to “Crystal Blue Persuasion,” which EW notes was featured in a season 5 episode of “Breaking Bad.”

Similar to “The Simpsons” usual opening sequence, it ends with a focus on the TV, but this time “Breaking Bad’s” Bryan Cranston and Aaron Paul are sipping beers on the couch.

The AMC series will air is final episodes this summer. “The Simpsons,” meanwhile, is in its 24th season on Fox.