During his years in Salvador, Gil encountered the music of songwriter Dorival Caymmi, who he says represented to him the "beach-oriented" samba music of Salvador. Gonzaga and Caymmi were Gil's formative influences. While in Salvador, Gil was introduced to many other styles of music, including American big band jazz and tango. In 1950 Gil moved back to Salvador with his family. It was there, while in high school, that he joined his first band, Os Desafinados ("The Out of Tunes"), in which he played accordion and vibraphone and sang. Os Desafinados was influenced by American rock and roll musicians like Elvis Presley, as well as singing groups from Rio de Janeiro. The band was active for two to three years. Soon afterwards, inspired by Brazilian musician João Gilberto, he settled on the guitar as his primary instrument and began to play bossa nova.