added string function