Separation from the men was created by the Rabbis in the Mishnah and the Talmud. The reasoning behind the Halacha was that a woman and her body would distract men and give them impure thoughts during prayer. Due to this rabbinical interpretation, scholars have seen the women's role in the synagogue as limited and sometimes even non-existent. However, recent research has shown that women actually had a larger role in the synagogue and the community at large. Women usually attended synagogue, for example, on the Shabbat and the holidays.