finish adding event listeners