Why does the military have formations?