Expanded functions to use strings as return type and parameter