function text support added