At the beginning of the 19th century, Swiss folk music was largely performed by ensembles made of itinerant musicians and solo acts using an instrument, with only a few duos. In the 1830s, however, the Swiss military was reorganized, leading to the formation of brass bands that used modern instruments. These instruments, mostly brass or wind, were built much better than those played by itinerants, and musicians brought them back to their villages. Local players joined these ensembles, which played dance music for festivals and other celebrations. Dance styles included schottisch, mazurka, waltz and polka.