Deacon's first writing credit came on Queen's third album, "Sheer Heart Attack" (1974). He wrote "Misfire", a Caribbean-themed song on which he played almost all guitar parts, and co-wrote "Stone Cold Crazy" with the rest of the band. He also played some guide guitar parts on the album, for May was hospitalised with hepatitis when recording started. His second song – written for his wife-to-be Veronica – "You're My Best Friend" was featured on the group's fourth album, "A Night at the Opera" (1975), and went on to be an international hit. Subsequently, Deacon tended to write one or two songs for every Queen album, until "The Miracle" (1989) and "Innuendo" (1991), which credited the band as a whole. He wrote the hit "Another One Bites The Dust" (1980) as a dance song based on his early love of soul. The song saw radio play on both black and white US music stations. He began to collaborate more with Mercury during the 1980s, as they both wanted to change the band's musical direction.