called the function and logged the result, in gallons, to the console.  finished problem.