clarify element module
improve implementation of text syntax