 The scholars were divided into four groups.The first awoke at midnight to say "Tikkun Hatzot" and learn the Kabbalah of the Arizal until dawn.The second delved into the works of the Arizal from after (morning prayers) until midday.