added nvEvents for event handling