It was vital for squares to stand firm in the face of a charge, but they were not static formations. Astute commanders could in suitable terrain, manoeuvre squares to mass fire and even trap cavalry, as the French managed against the Ottomans at the Battle of Mount Tabot (1799). Squares would be arranged in a checkerboard formation to minimise the risk of soldiers from one square accidentally shooting another.