Add parameter location
Change to use event listeners