 The operation was supposed to be done in strict confidentiality to ensure a surprise attack on the enemies.The Swedish army of 14,000 men arrived at Riga on July 17, and already by the time, preparations for the attack were completed.However, bad weather ruined the Swedish plans to attack instantly, and the assault had to be postponed.