added api to C_TEXT