initial support for text elements