 Both versions are given as a unit in the Amsterdam edition of 1708, as they probably originally belonged together.Version A shows more unity of plan, and is older.It is directly based upon, if not coeval with, Shabbat 104a, according to which the schoolchildren in the time of Joshua ben Levi (the beginning of the 3rd century) were taught in such mnemonic forms which at the same time suggested moral lessons.