The above is only standard procedure and was often modified as necessitated by varying circumstances; for example, at Zama, Scipio deployed his entire legion in a single line to envelop Hannibal's army just as Hannibal had done at Cannae. A brief summary of alternative formations known to have been used is shown below: