The band made progress on "Mysterious Ways" after the Edge began experimenting with the "Funk Wah" setting on a Korg A3 guitar effects unit and Bono told him to use it for the song. Bono said it made an "envelope of sound which would turn a guitar chord into the funkiest of jackhammers". Drummer Larry Mullen Jr. recorded a drum track near the end of the sessions, introducing a "much groovier beat" that "demonstrated the difference between a drum machine and a real drummer". Bono calls the song "U2 at our funkiest ... Sly and the Family Stone meets Madchester baggy". Lanois provided additional percussion by playing the congas. "Mysterious Ways" and the track it inspired, "One", were the only two songs that were primarily completed at Hansa Studios before the album sessions moved to Dublin in 1991. Much like they did for other songs from "Achtung Baby", U2 continued to work on "Mysterious Ways" up to the recording deadline, adding a guitar overdub after the mix was already finished.