After men and material were lost in the battle, Louis VII led the army forward more cautiously, trying generously to help those who had lost their property amid increasing enemy attacks. As the army advanced, there came to be a severe shortage of provisions; they also had no guides, so that the army advanced haphazardly into Pamphylia, over steep mountains and deep valleys. Fortunately there was little or no contact with the enemy. Louis admired the example set by Everard of Barres and the Templars in piety and skill in protecting the persons and possessions of their men, and so decided to use Templar discipline and commanders on the march. A certain Giselbert was appointed commander for the French army under Templar control, with several colleagues, each of whom was assigned 50 knights; rules were set to impose collective discipline, rather than allowing individual reaction, as before. They applied especially to noblemen who lost their horses and were now on foot. In this way, by a kind of pact of mutual aid, his army descended the dangerous mountain and crossed two muddy rivers, dragging the weak horses behind them. Orders were given for a concerted attack on the Turks between the rivers, and Louis won one victory, and four more before Attaleia. The dying horses at least secured a supply of meat