Madrasas: A two-school theory