added support for text styling