Added third variable.

used console.log to make sure the variables were recorded.