used correct string function.