undid previous change made to test if event listener was causing performance issues