string function added