use subclass of StyledText