added string function.