Restructuration of the code in Lesson on multi-elements.