with addEventListener