added function with return string