more text rendering functionality