preparations for the battle