add show_text() implementation