Horseshoe generation