textify function added