* added callback in renderText()