call append_text from append_map