update example for proper text rendering