Steve Vai’s music has been featured in a number of feature films, including Dudes and Ghosts of Mars. He appeared onscreen in the 1986 Ralph Macchio movie Crossroads, playing the demonically-inspired Jack Butler. At the film’s climax, Vai engages in a guitar duel with Macchio, whose guitar parts were dubbed by Vai and also Ry Cooder, who played the initial slide work in the duel and Macchio’s earlier performances in the film. The fast-paced neo-classical track entitled Eugene’s Trick Bag with which Macchio wins the competition was also composed by Vai. The body of the piece was heavily based on Paganini’s Caprice #5, and has become a favorite apprentice-piece among many guitar students.[citation needed] He later borrowed the opening riff from the track Head Cuttin’ Duel for a song called Bad Horsie from his 1995 album Alien Love Secrets. Later the Crossroads duel reappeared on the 2002 album The Elusive Light and Sound, volume 1.