@hankyates Thanks for the article on hoisting. After reading it though I don't get how I could call addListeners() before defining it. The article says hoisting means variables are declared at the top of the function, but not initialized. Could you expand a little on what you mean about calling it on line 2?