new custom function int_to_text