New insights into the formation of brown dwarfs