added words and event listeners