The two type of educations systems are conducted throughout the day. Students in pesantren have almost 20 hours activities starting from early morning prayer starting at 4 am to midnight where they ended the evening with a study group in the dormitory. During the day, students attend formal school (which is mandatory until secondary school by 2005) like any other students outside of pesantren, and in late afternoon and evening they have to attend religious ritual followed by religious studies and group studies to complete their homework.