use capture event handler