Added a variable for the result from the function.