For more than three decades, the Red Hot Chili Peppers have twisted rock, funk, punk and soul into new, surprising, usually fun and sometimes sad jams. Singer Anthony Kiedis and bassist Flea have kept the band together and have stayed relevant far longer than most of their peers or their idols.

We took a deep dive into the hits and some album tracks to come up with this list of their 40 greatest songs. We included every era, not to be fair, but because every lineup had at least a few classics.

The early lineup of Anthony, Flea, guitarist Hillel Slovak and drummer Jack Irons is some people’s favorite. Anthony, Flea, drummer Chad Smith and guitarist John Frusicante created their most successful albums and songs. But credit is also due to former guitarists Jack Sherman, Dave Navarro and Josh Klinghoffer, and ex-drummer Cliff Martinez.

With Frusciante back in the band, we can’t wait to hear their new music. For now, though, take a look through our countdown of their 40 best songs (and yes, the list surely could have been much longer).