change to `viewEventHandler`