The creation of horseshoes