added string function with return string